commit 88e9de38b3b2a22fc3579a1d53d5a187ba7716b8
parent b695517001c719d37a904eef433aa20ab9bcf3b8
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 26 Oct 2022 16:52:32 +0900
portability
Diffstat:
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnunet-error-codes/Makefile b/gnunet-error-codes/Makefile
@@ -27,7 +27,7 @@ combined.tmp: registry.rec prep
if ! diff $@ combined.xtmp > /dev/null; then mv combined.xtmp $@; else rm combined.xtmp; fi
combined-escaped.tmp: combined.tmp
- sed 's/"/\\"/g' $^ > $@
+ sed 's/"/\\"/g' combined.tmp > $@
length.tmp: combined.tmp
recsel -p "Count(Description):ECS_LENGTH" combined.tmp > $@
@@ -36,7 +36,7 @@ gnunet_error_codes.h.tmp: combined.tmp h.template
../format.sh h.template < combined.tmp > $@
gnunet_error_codes.h: h.header gnunet_error_codes.h.tmp h.footer
- cat $^ > $@
+ cat h.header gnunet_error_codes.h.tmp h.footer > $@
gnunet_error_codes.c.tmp: combined-escaped.tmp c.template
../format.sh c.template < combined-escaped.tmp > $@
@@ -45,24 +45,24 @@ gnunet_error_codes-length.c.tmp: length.tmp c-length.template
../format.sh c-length.template < length.tmp > $@
gnunet_error_codes.c: c.header gnunet_error_codes.c.tmp gnunet_error_codes-length.c.tmp c.footer
- cat $^ > $@
+ cat c.header gnunet_error_codes.c.tmp gnunet_error_codes-length.c.tmp c.footer > $@
gnunet_error_codes.ts.tmp: combined.tmp ts.template
../format.sh ts.template < combined.tmp > $@
gnunet_error_codes.ts: ts.header gnunet_error_codes.ts.tmp ts.footer
- cat $^ > $@
+ cat ts.header gnunet_error_codes.ts.tmp ts.footer > $@
gnunet_error_codes.go.tmp: combined.tmp go.template
../format.sh go.template < combined.tmp > $@
gnunet_error_codes.go: go.header gnunet_error_codes.go.tmp go.footer
- cat $^ > $@
+ cat go.header gnunet_error_codes.go.tmp go.footer > $@
gnunet_error_codes.rst.tmp: combined.tmp rst.template
../format.sh rst.template < combined.tmp > $@
gnunet_error_codes.rst: rst.header gnunet_error_codes.rst.tmp rst.footer
- cat $^ > $@
+ cat rst.header gnunet_error_codes.rst.tmp rst.footer > $@
.PHONY: check clean distclean prep
diff --git a/http-status-codes/Makefile b/http-status-codes/Makefile
@@ -5,14 +5,14 @@ check: registry.rec
# http-status-codes-1.csv is from IANA!
iana.tmp: http-status-codes-1.csv
- cat $^ | grep -v Unassigned | csv2rec > $@
+ cat http-status-codes-1.csv | grep -v Unassigned | csv2rec > $@
# extend by all-caps descriptions suitable for C-style identifier generation
iana-extended.tmp: iana.tmp
./extend.sh $@ $^
registry.rec: types.rec iana-extended.tmp extras.rec
- cat $^ > $@
+ cat types.rec iana-extended.tmp extras.rec > $@
distclean:
rm -f *.tmp
@@ -25,7 +25,7 @@ http-status-codes.h.tmp: registry.rec h.template
../format.sh h.template < registry.rec > $@
http-status-codes.h: h.header http-status-codes.h.tmp h.footer
- cat $^ > $@
+ cat h.header http-status-codes.h.tmp h.footer > $@
.PHONY: check clean distclean