diff --git a/Makefile b/Makefile index 113e5a4..59d996e 100644 --- a/Makefile +++ b/Makefile @@ -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)