From b1c863047ac78219d8babe9c15de90e18bd4ab1d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Dec 2020 14:03:55 +0100 Subject: [PATCH] use build-aux to support Debian packaging --- .gitignore | 1 + configure.ac | 1 + debian/libtalerexchange.install | 1 + debian/rules | 5 +++++ 4 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 6b754b6af..24fbf6d2b 100644 --- a/.gitignore +++ b/.gitignore @@ -132,3 +132,4 @@ src/testing/test_bank_api_with_nexus src/util/taler_error_codes.c .deps/ src/bank-lib/taler-wire-gateway-client +build-aux/ diff --git a/configure.ac b/configure.ac index bd18a430b..f744631d9 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ # AC_PREREQ([2.69]) AC_INIT([taler-exchange], [0.8.1], [taler-bug@gnunet.org]) +AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_SRCDIR([src/util/util.c]) AC_CONFIG_HEADERS([taler_config.h]) # support for non-recursive builds diff --git a/debian/libtalerexchange.install b/debian/libtalerexchange.install index bfd61d628..42191d4d7 100644 --- a/debian/libtalerexchange.install +++ b/debian/libtalerexchange.install @@ -1,2 +1,3 @@ +bin/taler-config usr/lib/*/*.so.* usr/share/ diff --git a/debian/rules b/debian/rules index 75c683a8c..9161cd781 100755 --- a/debian/rules +++ b/debian/rules @@ -33,3 +33,8 @@ override_dh_auto_install-indep: override_dh_auto_clean: dh_auto_clean + +# Remove files already present in libtalerexchange from main taler-exchange package +override_dh_install: + dh_install + cd debian/libtalerexchange; find . -type f -exec rm -f ../taler-exchange/{} \;