aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-21 17:47:17 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-21 17:47:17 +0100
commit6a1d3f57c5ecc5a142e63fb574a017f02f207bab (patch)
tree483fe64986431cba6005593f365b72ec6a4a2776 /debian
parent3e70762180508b7bc13b9c3c7c23ea9f75a3ed54 (diff)
improve Debian package rules
Diffstat (limited to 'debian')
-rw-r--r--debian/libtalermerchant-dev.install1
-rw-r--r--debian/libtalermerchant.install3
-rw-r--r--debian/libtalermerchant.substvars2
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/taler-merchant.install6
-rw-r--r--debian/taler-merchant.postrm.debhelper2
-rw-r--r--debian/taler-merchant.substvars2
7 files changed, 13 insertions, 5 deletions
diff --git a/debian/libtalermerchant-dev.install b/debian/libtalermerchant-dev.install
index 146a6037..dc39ff35 100644
--- a/debian/libtalermerchant-dev.install
+++ b/debian/libtalermerchant-dev.install
@@ -1,2 +1,3 @@
usr/include
usr/lib/*/*.so
+usr/lib/*/libtalermerchanttesting.so.*
diff --git a/debian/libtalermerchant.install b/debian/libtalermerchant.install
index bfd61d62..de3e6159 100644
--- a/debian/libtalermerchant.install
+++ b/debian/libtalermerchant.install
@@ -1,2 +1 @@
-usr/lib/*/*.so.*
-usr/share/
+usr/lib/*/libtalermerchant.so.*
diff --git a/debian/libtalermerchant.substvars b/debian/libtalermerchant.substvars
index 2aeedff3..82f60a1c 100644
--- a/debian/libtalermerchant.substvars
+++ b/debian/libtalermerchant.substvars
@@ -1,3 +1,3 @@
-shlibs:Depends=libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), libgnunet (>= 0.14.0), libjansson4 (>= 2.0.1), libltdl7 (>= 2.4.6), libtalerexchange (>= 0.9.0), libtalermerchant (>= 0.9.0)
+shlibs:Depends=libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), libgnunet (>= 0.14.0), libjansson4 (>= 2.0.1), libtalerexchange (>= 0.9.0)
misc:Depends=
misc:Pre-Depends=
diff --git a/debian/rules b/debian/rules
index d7979eaa..66d379e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,4 +34,6 @@ override_dh_auto_clean:
# Remove files already present in libtalerexchange from main taler-exchange package
override_dh_install:
dh_install
+ 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/{} \;
diff --git a/debian/taler-merchant.install b/debian/taler-merchant.install
index 77e2900b..4f32e737 100644
--- a/debian/taler-merchant.install
+++ b/debian/taler-merchant.install
@@ -1,5 +1,11 @@
usr/bin/
usr/lib/*/taler/*.so
+usr/lib/*/libtalermerchantdb.so.*
+usr/share/man/man1/*
+/usr/share/info/taler-merchant*
+/usr/share/taler/merchant/*
+/usr/share/taler/sql/merchant/*
+/usr/share/taler/config.d/*
debian/etc/* /etc/
debian/conf/* etc/taler-merchant/
debian/db/install/* usr/share/dbconfig-common/scripts/taler-merchant/install/
diff --git a/debian/taler-merchant.postrm.debhelper b/debian/taler-merchant.postrm.debhelper
index 5d2556c1..d20b4ec4 100644
--- a/debian/taler-merchant.postrm.debhelper
+++ b/debian/taler-merchant.postrm.debhelper
@@ -1,4 +1,4 @@
-# Automatically added by dh_installdebconf/13.3
+# Automatically added by dh_installdebconf/13.3.1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
diff --git a/debian/taler-merchant.substvars b/debian/taler-merchant.substvars
index 3bbad5ad..49a48eaa 100644
--- a/debian/taler-merchant.substvars
+++ b/debian/taler-merchant.substvars
@@ -1,3 +1,3 @@
misc:Depends=debconf (>= 0.5) | debconf-2.0
-shlibs:Depends=libc6 (>= 2.14), libgnunet (>= 0.14.0), libjansson4 (>= 2.0.1), libmicrohttpd12 (>= 0.9.50), libqrencode4 (>= 3.2.0), libtalerexchange (>= 0.9.0), libtalermerchant (>= 0.9.0)
+shlibs:Depends=libc6 (>= 2.14), libgnunet (>= 0.14.0), libjansson4 (>= 2.0.1), libltdl7 (>= 2.4.6), libmicrohttpd12 (>= 0.9.50), libqrencode4 (>= 3.2.0), libtalerexchange (>= 0.9.0), libtalermerchant (>= 0.9.0), libtalermerchant-dev (>= 0.9.0), taler-merchant (>= 0.9.0)
misc:Pre-Depends=