aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/Makefile
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-14 00:16:04 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-14 00:16:04 +0200
commite1b5f8e912b3aaca1719c5fd08c2152d9f7d5113 (patch)
treef2fd32f8d33ebbd21107d75547c29946fe21375c /gnu-taler-error-codes/Makefile
parentd62efd6aaa7a408e04484f26d97b3b74114cc4b6 (diff)
downloadgana-e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113.tar.gz
gana-e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113.zip
start taler EC registry
Diffstat (limited to 'gnu-taler-error-codes/Makefile')
-rw-r--r--gnu-taler-error-codes/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile
new file mode 100644
index 0000000..b95669f
--- /dev/null
+++ b/gnu-taler-error-codes/Makefile
@@ -0,0 +1,25 @@
1FILES=taler-error-codes.h
2all: check $(FILES)
3check: registry.rec
4 recfix --check registry.rec
5
6distclean:
7 rm -f *.tmp
8
9clean:
10 rm -f $(FILES) *.tmp
11
12prep:
13 cd ../http-status-codes; make ; cd -
14
15combined.tmp: registry.rec prep
16 recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > $@
17
18taler-error-codes.h.tmp: combined.tmp h.template
19 ../format.sh h.template < combined.tmp > $@
20
21taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer
22 cat $^ > $@
23
24
25.PHONY: check clean distclean prep