diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-28 23:13:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-28 23:13:03 +0100 |
commit | 068cfc6a252f44799a7e9bd7914e90f72ad60091 (patch) | |
tree | cbcd5fb3dd87dd7239048b6da41428da34208080 /gnu-taler-error-codes/Makefile | |
parent | 32acd55e3d886322dab80bfbed4e73f590013472 (diff) | |
download | gana-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/Makefile | 7 |
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 @@ | |||
1 | FILES=taler_error_codes.h \ | 1 | FILES=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 | ||
6 | all: check $(FILES) | 7 | all: check $(FILES) |
@@ -58,5 +59,11 @@ taler_error_codes.kt.tmp: combined.tmp kt.template | |||
58 | taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer | 59 | taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer |
59 | cat $^ > $@ | 60 | cat $^ > $@ |
60 | 61 | ||
62 | taler_error_codes.py.tmp: combined.tmp py.template | ||
63 | ../format.sh py.template < combined.tmp > $@ | ||
64 | |||
65 | taler_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 |