* Remove format checking from CFLAGS for Ada.
* get-orig-source: clean tmp dir even in case of failure.
nicolas.boulenguez
12 years ago
3 | 3 | # export DH_VERBOSE=1 |
4 | 4 | |
5 | 5 | # Set CFLAGS, LDFLAGS, DEB_VERSION_UPSTREAM |
6 | DEB_BUILD_MAINT_OPTIONS = hardening=-format | |
6 | 7 | include /usr/share/dpkg/default.mk |
7 | 8 | |
8 | 9 | .PHONY: build build-arch build-indep clean binary binary-arch binary-indep install |
22 | 23 | get-orig-source: |
23 | 24 | TMPDIR=$$(mktemp --tmpdir --directory music123-get-orig-source-XXXXXXXXXX) && \ |
24 | 25 | mtn clone -d $$TMPDIR/db.mtn $(mtn_uri) -k "" $$TMPDIR/$(orig_dir) && \ |
25 | (cd $$TMPDIR && tar --create --gzip --exclude="_MTN" $(orig_dir)) > $(orig_tgz) && \ | |
26 | (cd $$TMPDIR && tar --create --gzip --exclude="_MTN" $(orig_dir)) > $(orig_tgz) ; \ | |
26 | 27 | rm -rf $$TMPDIR |
28 | @echo "The file $(orig_tgz) contains the latest Debian snapshot of upstream sources." |