aboutsummaryrefslogtreecommitdiff
path: root/http-status-codes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'http-status-codes/Makefile')
-rw-r--r--http-status-codes/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/http-status-codes/Makefile b/http-status-codes/Makefile
index cea962b..1cc83de 100644
--- a/http-status-codes/Makefile
+++ b/http-status-codes/Makefile
@@ -5,14 +5,14 @@ check: registry.rec
5 5
6# http-status-codes-1.csv is from IANA! 6# http-status-codes-1.csv is from IANA!
7iana.tmp: http-status-codes-1.csv 7iana.tmp: http-status-codes-1.csv
8 cat $^ | grep -v Unassigned | csv2rec > $@ 8 cat http-status-codes-1.csv | grep -v Unassigned | csv2rec > $@
9 9
10# extend by all-caps descriptions suitable for C-style identifier generation 10# extend by all-caps descriptions suitable for C-style identifier generation
11iana-extended.tmp: iana.tmp 11iana-extended.tmp: iana.tmp
12 ./extend.sh $@ $^ 12 ./extend.sh $@ iana.tmp
13 13
14registry.rec: types.rec iana-extended.tmp extras.rec 14registry.rec: types.rec iana-extended.tmp extras.rec
15 cat $^ > $@ 15 cat types.rec iana-extended.tmp extras.rec > $@
16 16
17distclean: 17distclean:
18 rm -f *.tmp 18 rm -f *.tmp
@@ -25,7 +25,7 @@ http-status-codes.h.tmp: registry.rec h.template
25 ../format.sh h.template < registry.rec > $@ 25 ../format.sh h.template < registry.rec > $@
26 26
27http-status-codes.h: h.header http-status-codes.h.tmp h.footer 27http-status-codes.h: h.header http-status-codes.h.tmp h.footer
28 cat $^ > $@ 28 cat h.header http-status-codes.h.tmp h.footer > $@
29 29
30 30
31.PHONY: check clean distclean 31.PHONY: check clean distclean