rules (1202B)
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_install-arch: 21 dh_auto_install 22 23 # Removing useless files 24 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \ 25 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sync/*.la \ 26 debian/tmp/usr/share/doc/sync/COPYING 27 28 override_dh_auto_install-indep: 29 30 override_dh_auto_clean: 31 dh_auto_clean 32 33 override_dh_installsystemd: 34 dh_installsystemd -psync-httpd --name=sync-httpd --no-start --no-enable 35 # final invocation to generate daemon reload 36 dh_installsystemd 37 38 override_dh_install: 39 dh_install 40 # Done manually for debhelper-compat<13 41 dh_installtmpfiles 42 # Remove files already present in libsync-dev from sync-httpd/libsync packages 43 cd debian/libsync; find . -type f,l -exec rm -f ../sync-httpd/{} \; 44 cd debian/libsync; find . -type f,l -exec rm -f ../libsync-dev/{} \; 45 cd debian/sync-httpd; find . -type f,l -exec rm -f ../libsync-dev/{} \; 46 cd debian/libsync-dev; find . -type f,l -exec rm -f ../libsync/{} \;