build system: also obtain event type registry from GANA

This commit is contained in:
Christian Grothoff 2021-08-01 13:56:48 +02:00
parent 243d39920c
commit f1f0bf637b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 19 additions and 9 deletions

@ -1 +1 @@
Subproject commit 755e752e3a235df0be8d45374835b109f7843c1c
Subproject commit bd76ae195ba95ef18bb1d91f7e3ff7501543bf1c

View File

@ -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

View File

@ -10,6 +10,7 @@ talerinclude_HEADERS = \
taler_bank_service.h \
taler_crypto_lib.h \
taler_curl_lib.h \
taler_dbevents.h \
taler_error_codes.h \
taler_exchange_service.h \
taler_exchangedb_lib.h \