unix: fix tar use in mkfile to allow Plan 9 tar

This commit is contained in:
Mat Kovach 2018-11-15 22:00:50 -05:00 committed by Russ Cox
parent 43b0d532bd
commit 4e2ac7657b

View file

@ -38,15 +38,15 @@ test-%:V:
lib%.tgz:V: lib%.tgz:V:
mk new-$stem mk new-$stem
tar cf - lib$stem | gzip > $target tar c lib$stem | gzip > $target
libregexp9.tgz:V: libregexp9.tgz:V:
mk new-regexp mk new-regexp
tar cf - libregexp | gzip >$target tar c libregexp | gzip >$target
mk.tgz:V: mk.tgz:V:
mk new-mk mk new-mk
tar cf - mk | gzip > $target tar c mk | gzip > $target
mk-with-libs.tgz:V: mk-with-libs.tgz:V:
mk new-utf mk new-utf
@ -59,7 +59,7 @@ mk-with-libs.tgz:V:
mv libutf libfmt libbio libregexp mk zot mv libutf libfmt libbio libregexp mk zot
mv zot mk mv zot mk
cp make/Makefile.all mk/Makefile cp make/Makefile.all mk/Makefile
tar cf - mk | gzip > $target tar c mk | gzip > $target
rm -r mk rm -r mk
tgz:V: libutf.tgz libfmt.tgz libregexp9.tgz libbio.tgz mk.tgz mk-with-libs.tgz tgz:V: libutf.tgz libfmt.tgz libregexp9.tgz libbio.tgz mk.tgz mk-with-libs.tgz