Honour PRIVATE keyword
[deliverable/binutils-gdb.git] / src-release
index 403ce147c5cbaaa51d0796d2fed53402c4c22329..4fec631212ce39380427fd3890113f44c206f83b 100644 (file)
@@ -208,11 +208,14 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
        -rm -f $(PACKAGE)-$(VER)
        ln -s proto-toplev $(PACKAGE)-$(VER)
 
+CVS_NAMES= \( -name CVS -o -name '.cvsignore' \)
+
 .PHONY: do-tar
 do-tar:
        echo "==> Making $(PACKAGE)-$(VER).tar"
        -rm -f $(PACKAGE)-$(VER).tar
-       find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
+       find $(PACKAGE)-$(VER) -follow $(CVS_NAMES) -prune \
+                       -o -type f -print \
                | tar cTfh - $(PACKAGE)-$(VER).tar
 
 .PHONY: do-bz2
@@ -224,7 +227,8 @@ do-bz2:
 .PHONY: do-md5sum
 do-md5sum:
        echo "==> Adding md5 checksum to top-level directory"
-       cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \
+       cd proto-toplev && find * -follow $(CVS_NAMES) -prune \
+                       -o -type f -print \
                | xargs $(MD5PROG) > ../md5.sum
        mv md5.sum proto-toplev
 
This page took 0.030456 seconds and 4 git commands to generate.