#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # debian version rule: # 0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 < 2.0 VERSION = 0.3 PACKAGEVERSION = $(VERSION)+$(shell date +%Y%m%d%H%M%S) %: dh $@ # avoid errors on stretch and sid builds. Error : # dpkg-shlibdeps: error: no dependency information found for # /usr/lib/ld-linux-armhf.so.3 (used >by debian/meh/bin/meh) # fix by telling dh_shlibdeps it should ignore not found libs: override_dh_shlibdeps: dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info # note for build: # Delete manpages installed from upstream since not gzipped, and let debian # helper do it instead. override_dh_auto_clean: override_dh_auto_test: override_dh_auto_build: override_dh_auto_install: make -C upstream make -C upstream install PREFIX=../debian/meh/usr rm -f ../debian/meh/usr/share/man/man1/meh.1 dh_installman override_dh_gencontrol: dh_gencontrol -- -v$(PACKAGEVERSION)