commit 8ca1a69cadb974c0d0d4c63c1f51e24076153e7f parent cf9e9f70ae04da02be8d11fde5668e2ef72adc57 Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Wed, 6 Jul 2022 17:39:32 +0200 Add go generator Diffstat:
| M | gnu-taler-error-codes/Makefile | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile @@ -2,7 +2,8 @@ FILES=taler_error_codes.h \ taler_error_codes.c \ taler_error_codes.ts \ taler_error_codes.py \ - taler_error_codes.kt + taler_error_codes.kt \ + taler_error_codes.go all: check $(FILES) @@ -65,5 +66,10 @@ taler_error_codes.py.tmp: combined.tmp py.template taler_error_codes.py: py.header taler_error_codes.py.tmp cat $^ > $@ +taler_error_codes.go.tmp: combined.tmp go.template + ../format.sh go.template < combined.tmp > $@ + +taler_error_codes.go: go.header taler_error_codes.go.tmp go.footer + cat $^ > $@ .PHONY: check clean distclean prep