diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-10 21:25:13 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-10 21:25:13 -0400 |
commit | 726a1ff5748a7debf284377b39ce3de2f72b7f4f (patch) | |
tree | 17d95e463c4c1b1e31e51d6cf5e027906ebb666c /gnu-taler-error-codes/Makefile | |
parent | d9a74736b8de37a157ffbaa6c917384b0b565034 (diff) | |
download | gana-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/Makefile | 16 |
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 @@ | |||
1 | FILES=taler-error-codes.h | 1 | FILES=taler-error-codes.h \ |
2 | taler-error-codes.ts \ | ||
3 | taler-error-codes.kt | ||
2 | all: check $(FILES) | 4 | all: check $(FILES) |
3 | check: registry.rec | 5 | check: 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 | |||
21 | taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer | 23 | taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer |
22 | cat $^ > $@ | 24 | cat $^ > $@ |
23 | 25 | ||
26 | taler-error-codes.ts.tmp: combined.tmp ts.template | ||
27 | ../format.sh ts.template < combined.tmp > $@ | ||
28 | |||
29 | taler-error-codes.ts: ts.header taler-error-codes.ts.tmp ts.footer | ||
30 | cat $^ > $@ | ||
31 | |||
32 | taler-error-codes.kt.tmp: combined.tmp kt.template | ||
33 | ../format.sh kt.template < combined.tmp > $@ | ||
34 | |||
35 | taler-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 |