aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-07-06 17:39:32 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-07-06 17:39:32 +0200
commit8ca1a69cadb974c0d0d4c63c1f51e24076153e7f (patch)
tree617fb23a194e2e85906264d1185f93b99b29e06a
parentcf9e9f70ae04da02be8d11fde5668e2ef72adc57 (diff)
downloadgana-8ca1a69cadb974c0d0d4c63c1f51e24076153e7f.tar.gz
gana-8ca1a69cadb974c0d0d4c63c1f51e24076153e7f.zip
Add go generator
-rw-r--r--gnu-taler-error-codes/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile
index b7885f5..194868d 100644
--- a/gnu-taler-error-codes/Makefile
+++ b/gnu-taler-error-codes/Makefile
@@ -2,7 +2,8 @@ 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.py \
5 taler_error_codes.kt 5 taler_error_codes.kt \
6 taler_error_codes.go
6 7
7all: check $(FILES) 8all: check $(FILES)
8 9
@@ -65,5 +66,10 @@ taler_error_codes.py.tmp: combined.tmp py.template
65taler_error_codes.py: py.header taler_error_codes.py.tmp 66taler_error_codes.py: py.header taler_error_codes.py.tmp
66 cat $^ > $@ 67 cat $^ > $@
67 68
69taler_error_codes.go.tmp: combined.tmp go.template
70 ../format.sh go.template < combined.tmp > $@
71
72taler_error_codes.go: go.header taler_error_codes.go.tmp go.footer
73 cat $^ > $@
68 74
69.PHONY: check clean distclean prep 75.PHONY: check clean distclean prep