rules (913B)
1 #!/usr/bin/make -f 2 3 SHELL := sh -e 4 5 include /usr/share/dpkg/architecture.mk 6 7 %: 8 dh ${@} 9 10 override_dh_builddeb: 11 dh_builddeb -- -Zgzip 12 13 override_dh_auto_configure-arch: 14 dh_auto_configure -- $(shell dpkg-buildflags --export=configure) 15 16 override_dh_auto_configure-indep: 17 18 override_dh_auto_build-indep: 19 20 override_dh_auto_test: 21 # Disabling test suite, incomplete 22 23 override_dh_auto_install-arch: 24 dh_auto_install 25 26 # Removing useless files 27 rm -f debian/tmp/usr/share/doc/paivana/COPYING 28 29 override_dh_auto_install-indep: 30 31 override_dh_auto_clean: 32 dh_auto_clean 33 34 override_dh_installsystemd: 35 dh_installsystemd -ppaivana-httpd --name=paivana-httpd --no-start --no-enable 36 # final invocation to generate daemon reload 37 dh_installsystemd 38 39 override_dh_install: 40 dh_install 41 # Done manually for debhelper-compat<13 42 dh_installtmpfiles 43 # Remove files already present in libpaivana-dev from paivana-httpd/libpaivana packages