rules (1396B)
1 #!/usr/bin/make -f 2 3 SHELL := sh -e 4 5 include /usr/share/dpkg/architecture.mk 6 7 %: 8 dh ${@} --buildsystem=meson 9 10 override_dh_builddeb: 11 dh_builddeb -- -Zgzip 12 13 override_dh_auto_configure-indep: 14 15 override_dh_auto_build-indep: 16 17 override_dh_auto_test: 18 # Disabling test suite, incomplete 19 20 override_dh_auto_clean: 21 dh_auto_clean 22 23 override_dh_installsystemd: 24 # Need to specify units manually, since we have multiple 25 # and dh_installsystemd by default only looks for "<package>.service". 26 dh_installsystemd -pdonau --name=donau --no-start --no-enable --no-stop-on-upgrade 27 dh_installsystemd -pdonau --name=donau-httpd --no-start --no-enable --no-stop-on-upgrade 28 dh_installsystemd -pdonau --name=donau-secmod-cs --no-start --no-enable --no-stop-on-upgrade 29 dh_installsystemd -pdonau --name=donau-secmod-eddsa --no-start --no-enable --no-stop-on-upgrade 30 dh_installsystemd -pdonau --name=donau-secmod-rsa --no-start --no-enable --no-stop-on-upgrade 31 # final invocation to generate daemon reload 32 dh_installsystemd 33 34 override_dh_install: 35 dh_install 36 # With debhelper-compat=12, we still need to call this manually 37 dh_installtmpfiles 38 # Remove files already present in libdonau from main donau package 39 cd debian/libdonau-dev; find . -type f,l -exec rm -f ../donau/{} \; 40 cd debian/libdonau-dev; find . -type f,l -exec rm -f ../libdonau/{} \; 41 cd debian/libdonau; find . -type f,l -exec rm -f ../donau/{} \;