1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#!/usr/bin/make -f
# -*- makefile -*-
#
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Override path as a way to hook mpicc
PATH := $(CURDIR)/debian/bin_override:${PATH}
export PATH
%:
dh $@
override_dh_auto_install:
make install
dh_install bin/* /usr/bin
dh_install Data/* /usr/share/ampliconnoise/Data/
dh_install Scripts/* /usr/share/ampliconnoise/Scripts/
#A typo in the upstream Makefile prevents proper cleaning.
override_dh_clean:
dh_clean
rm -f *.o
rm -f *.1
override_dh_installman:
debian/ampliconnoise.pod
dh_installman ampliconnoise.1
( for f in bin/* ; do \
ln -s ampliconnoise.1 debian/ampliconnoise/usr/share/man/man1/`basename "$$f"`.1 ; \
done )
override_dh_compress:
dh_compress --exclude=.pdf
#get-orig-source:
# uscan --verbose --force-download --repack-compression xz
|