Remove ./ prefix from tarball-dist files.
authorRoland Rosenfeld <roland@debian.org>
Tue, 2 Jan 2024 18:21:44 +0000 (19:21 +0100)
committerRoland Rosenfeld <roland@debian.org>
Tue, 2 Jan 2024 18:21:44 +0000 (19:21 +0100)
GNUmakefile.in

index 9476426..feec584 100644 (file)
@@ -440,7 +440,7 @@ 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/*" \
-       -o -path "*/doc/webserver/feeds*" \) | sort`; do \
+       -o -path "*/doc/webserver/feeds*" \) | sort | $(SED) 's@^\./@@'`; do \
           files="$$files privoxy-$(VERSION)-$(CODE_STATUS)/$$i"; \
        done &&  \
        cd .. && $(TAR) -cvhf privoxy-$(VERSION)-$(CODE_STATUS)-src.tar $$files ; \