#!/usr/bin/make -f SHELL := sh -e include /usr/share/dpkg/architecture.mk %: dh ${@} override_dh_auto_configure-arch: dh_auto_configure -- --disable-rpath --with-microhttpd=yes $(shell dpkg-buildflags --export=configure) override_dh_auto_configure-indep: override_dh_auto_build-indep: override_dh_auto_test: # Disabling test suite, incomplete override_dh_auto_install-arch: dh_auto_install # Removing useless files rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \ debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/taler/*.la \ debian/tmp/usr/share/doc/taler/COPYING \ debian/tmp/usr/lib/x86_64-linux-gnu/libmustach.a override_dh_auto_install-indep: override_dh_auto_clean: dh_auto_clean override_dh_installsystemd: # Need to specify units manually, since we have multiple # and dh_installsystemd by default only looks for ".service". dh_installsystemd -ptaler-merchant --name=taler-merchant-httpd --no-start --no-enable # final invocation to generate daemon reload dh_installsystemd override_dh_install: dh_install # Must be done manually for debhelper-compat<13 dh_installtmpfiles # Remove files already present in libtalermerchant from main taler-merchant package cd debian/libtalermerchant-dev; find . -type f -exec rm -f ../taler-merchant/{} \; cd debian/libtalermerchant-dev; find . -type f -exec rm -f ../libtalermerchant/{} \; cd debian/libtalermerchant; find . -type f -exec rm -f ../taler-merchant/{} \;