From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 5 Dec 2020 21:49:41 +0000 (+0100)
Subject: Remove the packages feed from the source tarball
X-Git-Tag: v_3_0_30~270^2~45
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/gitweb.js?a=commitdiff_plain;h=f12bae1fb1656d151f27e3c1ec6adfac0dba1fe5;p=privoxy.git

Remove the packages feed from the source tarball

It's usually out of date when the source tarball is generated
for the release.
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 2630d4c7..52c2ec13 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -445,7 +445,8 @@ tarball-dist: dist-check clean clobber
 
 	for i in `find . -type f -a -not \( -path "*/CVS*" -o -name ".*" \
 	-o -path "*/debian/*" -o -path "*/actions/*" -o -name "*.php" -o \
-	-name "PACKAGERS" -o -path "*.git/*" \) | sort`; do \
+	-name "PACKAGERS" -o -path "*.git/*" \
+	-o -path "*/doc/webserver/feeds*" \) | sort`; do \
 	   files="$$files privoxy-$(VERSION)-$(CODE_STATUS)/$$i"; \
 	done &&  \
 	cd .. && $(TAR) -cvhf privoxy-$(VERSION)-$(CODE_STATUS)-src.tar $$files ; \
@@ -461,7 +462,8 @@ mtree-spec:
 	$(ECHO) "#mtree 2.0" > $(MTREE_SPEC_FILE)
 	for i in `find . -type f -a -not \( -path "*/CVS*" -o -name ".*" \
 	-o -path "*/debian/*" -o -path "*/actions/*" -o -name "*.php" -o \
-	-name "PACKAGERS" -o -path "*.git/*" -o -name "*.spec" \) | env -i sort`; do \
+	-name "PACKAGERS" -o -path "*.git/*" -o -name "*.spec" \
+	-o -path "*/doc/webserver/feeds*" \) | env -i sort`; do \
 	   $(ECHO) "privoxy-$(VERSION)-$(CODE_STATUS)/$$i time=$(SOURCE_DATE_EPOCH) type=file uname=privoxy gname=privoxy mode=0555"; \
 	done >> $(MTREE_SPEC_FILE)
 	$(RM) ../privoxy-$(VERSION)-$(CODE_STATUS)