aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/Makefile
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 21:25:13 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 21:25:13 -0400
commit726a1ff5748a7debf284377b39ce3de2f72b7f4f (patch)
tree17d95e463c4c1b1e31e51d6cf5e027906ebb666c /gnu-taler-error-codes/Makefile
parentd9a74736b8de37a157ffbaa6c917384b0b565034 (diff)
downloadgana-726a1ff5748a7debf284377b39ce3de2f72b7f4f.tar.gz
gana-726a1ff5748a7debf284377b39ce3de2f72b7f4f.zip
generation of taler error codes in kotlin and typescript
Diffstat (limited to 'gnu-taler-error-codes/Makefile')
-rw-r--r--gnu-taler-error-codes/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile
index b95669f..c0bb208 100644
--- a/gnu-taler-error-codes/Makefile
+++ b/gnu-taler-error-codes/Makefile
@@ -1,4 +1,6 @@
1FILES=taler-error-codes.h 1FILES=taler-error-codes.h \
2 taler-error-codes.ts \
3 taler-error-codes.kt
2all: check $(FILES) 4all: check $(FILES)
3check: registry.rec 5check: registry.rec
4 recfix --check registry.rec 6 recfix --check registry.rec
@@ -21,5 +23,17 @@ taler-error-codes.h.tmp: combined.tmp h.template
21taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer 23taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer
22 cat $^ > $@ 24 cat $^ > $@
23 25
26taler-error-codes.ts.tmp: combined.tmp ts.template
27 ../format.sh ts.template < combined.tmp > $@
28
29taler-error-codes.ts: ts.header taler-error-codes.ts.tmp ts.footer
30 cat $^ > $@
31
32taler-error-codes.kt.tmp: combined.tmp kt.template
33 ../format.sh kt.template < combined.tmp > $@
34
35taler-error-codes.kt: kt.header taler-error-codes.kt.tmp kt.footer
36 cat $^ > $@
37
24 38
25.PHONY: check clean distclean prep 39.PHONY: check clean distclean prep