summaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/Makefile
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-07 21:00:40 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-07 21:00:40 -0400
commit3df34079629bed89b6d2e84ed396778075e61e0f (patch)
tree58d38873d60d4a5a562bdd88e469d7f4c97a6f1f /gnu-taler-error-codes/Makefile
parente1b5f8e912b3aaca1719c5fd08c2152d9f7d5113 (diff)
created registry for taler error codes
Diffstat (limited to 'gnu-taler-error-codes/Makefile')
-rw-r--r--gnu-taler-error-codes/Makefile7
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:
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 > $@
+combined-indents.tmp: combined.tmp
+ sed 's/\+ /\+ * /g' combined.tmp > combined-indents.tmp
+
+taler-error-codes.h.tmp: combined-indents.tmp h.template
+ ../format.sh h.template < combined-indents.tmp > $@
taler-error-codes.h: h.header taler-error-codes.h.tmp h.footer
cat $^ > $@