Makefile: fix make dist if it is run more than once
... and stream directly to compressed tarball.
This commit is contained in:
parent
3fab03ea0b
commit
00698e45ea
3
Makefile
3
Makefile
@ -53,8 +53,7 @@ dist: clean
|
|||||||
mkdir -p ii-$(VERSION)
|
mkdir -p ii-$(VERSION)
|
||||||
cp -R Makefile README FAQ LICENSE strlcpy.c arg.h \
|
cp -R Makefile README FAQ LICENSE strlcpy.c arg.h \
|
||||||
ii.c ii.1 ii-$(VERSION)
|
ii.c ii.1 ii-$(VERSION)
|
||||||
tar -cf ii-$(VERSION).tar ii-$(VERSION)
|
tar -cf - ii-$(VERSION) | gzip -c > ii-$(VERSION).tar.gz
|
||||||
gzip ii-$(VERSION).tar
|
|
||||||
rm -rf ii-$(VERSION)
|
rm -rf ii-$(VERSION)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user