From 969f83bcad25ebe2800c2c178ebcf05d7126b217 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 11 Feb 2018 11:53:31 -0800 Subject: [PATCH] Fix make dist to not include staging and ARCHIVE --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)