File: rules

package info (click to toggle)
libcmrt 1.0.6%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 1,668 kB
  • ctags: 7,985
  • sloc: cpp: 23,513; ansic: 17,420; makefile: 114; sh: 4
file content (13 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf,quilt \
		--parallel \
		--builddirectory=build/

gentarball: SOURCE=libcmrt
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	tar --transform 's,^,$(SOURCE)-$(UV)/,' \
		--exclude 'debian' --exclude-vcs \
		-cJf ../$(SOURCE)_$(UV).orig.tar.xz .