2020-12-28 11:39:05 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
SHELL := sh -e
|
|
|
|
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh ${@}
|
|
|
|
|
2022-06-28 21:32:03 +02:00
|
|
|
override_dh_builddeb:
|
2022-09-24 14:14:10 +02:00
|
|
|
dh_builddeb -- -Zgzip
|
2022-06-28 21:32:03 +02:00
|
|
|
|
2020-12-28 11:39:05 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
override_dh_auto_install-indep:
|
|
|
|
|
|
|
|
override_dh_auto_clean:
|
|
|
|
dh_auto_clean
|
2020-12-29 14:03:55 +01:00
|
|
|
|
2021-07-26 21:02:53 +02:00
|
|
|
override_dh_installsystemd:
|
|
|
|
# Need to specify units manually, since we have multiple
|
|
|
|
# and dh_installsystemd by default only looks for "<package>.service".
|
2021-07-26 21:11:55 +02:00
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-httpd --no-start --no-enable
|
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-aggregator --no-start --no-enable
|
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-transfer --no-start --no-enable
|
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-wirewatch --no-start --no-enable
|
2022-06-20 15:29:59 +02:00
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-cs --no-start --no-enable
|
2021-07-26 21:11:55 +02:00
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-eddsa --no-start --no-enable
|
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-rsa --no-start --no-enable
|
2021-07-27 15:58:50 +02:00
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange-closer --no-start --no-enable
|
2021-07-26 21:11:55 +02:00
|
|
|
dh_installsystemd -ptaler-auditor --name=taler-auditor-httpd --no-start --no-enable
|
2021-07-27 15:42:39 +02:00
|
|
|
dh_installsystemd -ptaler-exchange --name=taler-exchange --no-start --no-enable
|
2021-07-27 00:22:16 +02:00
|
|
|
# final invocation to generate daemon reload
|
|
|
|
dh_installsystemd
|
2021-07-26 21:02:53 +02:00
|
|
|
|
2020-12-29 14:03:55 +01:00
|
|
|
override_dh_install:
|
|
|
|
dh_install
|
2021-08-01 18:45:52 +02:00
|
|
|
# With debhelper-compat=12, we still need to call this manually
|
|
|
|
dh_installtmpfiles
|
|
|
|
# Remove files already present in libtalerexchange from main taler-exchange package
|
2021-01-25 21:16:27 +01:00
|
|
|
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerauditor/{} \;
|
|
|
|
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../taler-exchange/{} \;
|
2021-08-28 21:05:09 +02:00
|
|
|
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../taler-auditor/{} \;
|
2021-01-25 21:16:27 +01:00
|
|
|
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerexchange/{} \;
|
|
|
|
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerauditor/{} \;
|
|
|
|
cd debian/taler-auditor; find . -type f,l -exec rm -f ../libtalerauditor/{} \;
|
2021-01-27 10:02:43 +01:00
|
|
|
cd debian/taler-auditor; find . -type f,l -exec rm -f ../libtalerexchange/{} \;
|
2021-01-25 21:16:27 +01:00
|
|
|
cd debian/taler-auditor; find . -type f,l -exec rm -f ../taler-exchange/{} \;
|
2021-06-24 11:28:31 +02:00
|
|
|
cd debian/taler-exchange-database; find . -type f,l -exec rm -f ../taler-exchange/{} \;
|
2021-01-27 10:02:43 +01:00
|
|
|
cd debian/libtalerexchange; find . -type f,l -exec rm -f ../taler-exchange/{} \;
|