summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-29 14:03:55 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-29 14:03:55 +0100
commitb1c863047ac78219d8babe9c15de90e18bd4ab1d (patch)
tree7998e60508c39c80bbdc1a830dafbfd54002751a
parent3c5e02214e999f7d3bb635aeea7843932800a389 (diff)
downloadexchange-b1c863047ac78219d8babe9c15de90e18bd4ab1d.tar.gz
exchange-b1c863047ac78219d8babe9c15de90e18bd4ab1d.tar.bz2
exchange-b1c863047ac78219d8babe9c15de90e18bd4ab1d.zip
use build-aux to support Debian packaging
-rw-r--r--.gitignore1
-rw-r--r--configure.ac1
-rw-r--r--debian/libtalerexchange.install1
-rwxr-xr-xdebian/rules5
4 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 6b754b6a..24fbf6d2 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 bd18a430..f744631d 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 bfd61d62..42191d4d 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 75c683a8..9161cd78 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/{} \;