use build-aux to support Debian packaging

This commit is contained in:
Christian Grothoff 2020-12-29 14:03:55 +01:00
parent 3c5e02214e
commit b1c863047a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
4 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -132,3 +132,4 @@ src/testing/test_bank_api_with_nexus
src/util/taler_error_codes.c src/util/taler_error_codes.c
.deps/ .deps/
src/bank-lib/taler-wire-gateway-client src/bank-lib/taler-wire-gateway-client
build-aux/

View File

@ -18,6 +18,7 @@
# #
AC_PREREQ([2.69]) AC_PREREQ([2.69])
AC_INIT([taler-exchange], [0.8.1], [taler-bug@gnunet.org]) 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_SRCDIR([src/util/util.c])
AC_CONFIG_HEADERS([taler_config.h]) AC_CONFIG_HEADERS([taler_config.h])
# support for non-recursive builds # support for non-recursive builds

View File

@ -1,2 +1,3 @@
bin/taler-config
usr/lib/*/*.so.* usr/lib/*/*.so.*
usr/share/ usr/share/

5
debian/rules vendored
View File

@ -33,3 +33,8 @@ override_dh_auto_install-indep:
override_dh_auto_clean: override_dh_auto_clean:
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/{} \;