summaryrefslogtreecommitdiff
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)
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 @@
-FILES=taler-error-codes.h
+FILES=taler-error-codes.h \
+ taler-error-codes.ts \
+ taler-error-codes.kt
all: check $(FILES)
check: registry.rec
recfix --check registry.rec
@@ -21,5 +23,17 @@ taler-error-codes.h.tmp: combined.tmp h.template
taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer
cat $^ > $@
+taler-error-codes.ts.tmp: combined.tmp ts.template
+ ../format.sh ts.template < combined.tmp > $@
+
+taler-error-codes.ts: ts.header taler-error-codes.ts.tmp ts.footer
+ cat $^ > $@
+
+taler-error-codes.kt.tmp: combined.tmp kt.template
+ ../format.sh kt.template < combined.tmp > $@
+
+taler-error-codes.kt: kt.header taler-error-codes.kt.tmp kt.footer
+ cat $^ > $@
+
.PHONY: check clean distclean prep