rules (1071B)
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 -- --disable-rpath --with-microhttpd=yes $(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/lib/$(DEB_HOST_MULTIARCH)/*.la \ 28 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/challenger/*.la \ 29 debian/tmp/usr/share/doc/challenger/COPYING 30 31 override_dh_auto_install-indep: 32 33 override_dh_auto_clean: 34 dh_auto_clean 35 36 override_dh_installsystemd: 37 dh_installsystemd -pchallenger-httpd --name=challenger-httpd --no-start --no-enable 38 # final invocation to generate daemon reload 39 dh_installsystemd 40 41 override_dh_install: 42 dh_install 43 # Done manually for debhelper-compat<13 44 dh_installtmpfiles 45 cd debian/challenger-httpd-dev; find . -type f,l -exec rm -f ../challenger-httpd/{} \;