#!/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