aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-01 13:56:48 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-01 13:56:48 +0200
commitf1f0bf637bcfd7d10d3acdb328d016ccf2cc4ffb (patch)
treedc093edd40ecc000c942a21ba0e814cacc66c45b /contrib
parent243d39920cd2006400a2a3a0ca275806218d1b30 (diff)
build system: also obtain event type registry from GANA
Diffstat (limited to 'contrib')
m---------contrib/gana0
-rwxr-xr-xcontrib/gana-update.sh25
2 files changed, 17 insertions, 8 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 755e752e3a235df0be8d45374835b109f7843c1
+Subproject bd76ae195ba95ef18bb1d91f7e3ff7501543bf1
diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh
index 196d4b530..b353d224f 100755
--- a/contrib/gana-update.sh
+++ b/contrib/gana-update.sh
@@ -8,11 +8,20 @@ set -eu
cd contrib/gana/gnu-taler-error-codes
make
cd ../../..
-if ! diff contrib/gana/gnu-taler-error-codes/taler_error_codes.h src/include/taler_error_codes.h > /dev/null
-then
- cp contrib/gana/gnu-taler-error-codes/taler_error_codes.h src/include/taler_error_codes.h
-fi
-if ! diff contrib/gana/gnu-taler-error-codes/taler_error_codes.c src/util/taler_error_codes.c > /dev/null
-then
- cp contrib/gana/gnu-taler-error-codes/taler_error_codes.c src/util/taler_error_codes.c
-fi
+for n in taler_error_codes.h taler_error_codes.c
+do
+ if ! diff contrib/gana/gnu-taler-error-codes/${n} src/include/${n} > /dev/null
+ then
+ cp contrib/gana/gnu-taler-error-codes/$n src/include/$n
+ fi
+done
+cd contrib/gana/gnu-taler-db-events
+make
+cd ../../..
+for n in taler_dbevents.h
+do
+ if ! diff contrib/gana/gnu-taler-db-events/${n} src/include/${n} > /dev/null
+ then
+ cp contrib/gana/gnu-taler-db-events/$n src/include/$n
+ fi
+done