From 726a1ff5748a7debf284377b39ce3de2f72b7f4f Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Wed, 10 Jun 2020 21:25:13 -0400 Subject: generation of taler error codes in kotlin and typescript --- gnu-taler-error-codes/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gnu-taler-error-codes/Makefile') 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 -- cgit v1.2.3