From e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 May 2020 00:16:04 +0200 Subject: start taler EC registry --- gnu-taler-error-codes/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gnu-taler-error-codes/Makefile (limited to 'gnu-taler-error-codes/Makefile') 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 @@ +FILES=taler-error-codes.h +all: check $(FILES) +check: registry.rec + recfix --check registry.rec + +distclean: + rm -f *.tmp + +clean: + rm -f $(FILES) *.tmp + +prep: + cd ../http-status-codes; make ; cd - + +combined.tmp: registry.rec prep + recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > $@ + +taler-error-codes.h.tmp: combined.tmp h.template + ../format.sh h.template < combined.tmp > $@ + +taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer + cat $^ > $@ + + +.PHONY: check clean distclean prep -- cgit v1.2.3