diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-07 21:00:40 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-07 21:00:40 -0400 |
commit | 3df34079629bed89b6d2e84ed396778075e61e0f (patch) | |
tree | 58d38873d60d4a5a562bdd88e469d7f4c97a6f1f /gnu-taler-error-codes/Makefile | |
parent | e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113 (diff) | |
download | gana-3df34079629bed89b6d2e84ed396778075e61e0f.tar.gz gana-3df34079629bed89b6d2e84ed396778075e61e0f.zip |
created registry for taler error codes
Diffstat (limited to 'gnu-taler-error-codes/Makefile')
-rw-r--r-- | gnu-taler-error-codes/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile index b95669f..4601f61 100644 --- a/gnu-taler-error-codes/Makefile +++ b/gnu-taler-error-codes/Makefile | |||
@@ -15,8 +15,11 @@ prep: | |||
15 | combined.tmp: registry.rec prep | 15 | combined.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 > $@ | 16 | recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > $@ |
17 | 17 | ||
18 | taler-error-codes.h.tmp: combined.tmp h.template | 18 | combined-indents.tmp: combined.tmp |
19 | ../format.sh h.template < combined.tmp > $@ | 19 | sed 's/\+ /\+ * /g' combined.tmp > combined-indents.tmp |
20 | |||
21 | taler-error-codes.h.tmp: combined-indents.tmp h.template | ||
22 | ../format.sh h.template < combined-indents.tmp > $@ | ||
20 | 23 | ||
21 | taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer | 24 | taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer |
22 | cat $^ > $@ | 25 | cat $^ > $@ |