aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/Makefile
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-28 23:13:03 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-28 23:13:03 +0100
commit068cfc6a252f44799a7e9bd7914e90f72ad60091 (patch)
treecbcd5fb3dd87dd7239048b6da41428da34208080 /gnu-taler-error-codes/Makefile
parent32acd55e3d886322dab80bfbed4e73f590013472 (diff)
downloadgana-068cfc6a252f44799a7e9bd7914e90f72ad60091.tar.gz
gana-068cfc6a252f44799a7e9bd7914e90f72ad60091.zip
add logic to generate python enumeration file
Diffstat (limited to 'gnu-taler-error-codes/Makefile')
-rw-r--r--gnu-taler-error-codes/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile
index 502c6f2..b7885f5 100644
--- a/gnu-taler-error-codes/Makefile
+++ b/gnu-taler-error-codes/Makefile
@@ -1,6 +1,7 @@
1FILES=taler_error_codes.h \ 1FILES=taler_error_codes.h \
2 taler_error_codes.c \ 2 taler_error_codes.c \
3 taler_error_codes.ts \ 3 taler_error_codes.ts \
4 taler_error_codes.py \
4 taler_error_codes.kt 5 taler_error_codes.kt
5 6
6all: check $(FILES) 7all: check $(FILES)
@@ -58,5 +59,11 @@ taler_error_codes.kt.tmp: combined.tmp kt.template
58taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer 59taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer
59 cat $^ > $@ 60 cat $^ > $@
60 61
62taler_error_codes.py.tmp: combined.tmp py.template
63 ../format.sh py.template < combined.tmp > $@
64
65taler_error_codes.py: py.header taler_error_codes.py.tmp
66 cat $^ > $@
67
61 68
62.PHONY: check clean distclean prep 69.PHONY: check clean distclean prep