Fix make dist to not include staging and ARCHIVE

This commit is contained in:
Russ Allbery 2018-02-11 11:53:31 -08:00
parent c1506f07b8
commit 969f83bcad

View file

@ -32,8 +32,8 @@ dist: release pgpverify.8
release: pgpverify.8
rm -f pgpcontrol-$(VERSION).tar.gz
mkdir -p pgpcontrol-$(VERSION)
rsync -C -a ./ pgpcontrol-$(VERSION)/
rsync -a pgpverify.8 pgpcontrol-$(VERSION)/
rsync -C -a --exclude /ARCHIVE --exclude /pgpcontrol-* \
--exclude /staging ./ pgpcontrol-$(VERSION)/
tar cfz pgpcontrol-$(VERSION).tar.gz pgpcontrol-$(VERSION)
rm -rf pgpcontrol-$(VERSION)