Explicitly remove the old archive in make dist

Currently it's implicitly removed by `tar c`, but that's not nice.
This commit is contained in:
Iustin Pop
2016-05-01 04:26:37 +02:00
parent 396cf8d0db
commit d7939d48ca

View File

@@ -47,6 +47,7 @@ install: $(PROGS)
rm -f $(MANDIR)/man8/stinit.8.gz; gzip $(MANDIR)/man8/stinit.8; fi)
dist:
rm -f "$(TARFILE)" && \
BASE=`mktemp -d` && \
trap "rm -rf $$BASE" EXIT && \
DIST="$$BASE/$(RELEASEDIR)" && \