summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 49bc898..d2cd687 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -132,8 +132,8 @@ install:: $(DOCS) $(EXAMPLES)
$(INSTALL_DIR) $(PKGDOCDIR)
# cp -rp docs/* $(PKGDOCDIR)
cd docs && \
- find . -type d ! \( -name 'CVS*' -o -name '.' \) -exec install -d $(PKGDOCDIR)/{} ";" && \
- find . -type f ! -name '.cvsignore' -exec cp -p {} $(PKGDOCDIR)/{} ";"
+ find . -type d ! \( -path '*CVS*' -o -path '.' \) -exec install -d $(PKGDOCDIR)/{} ";" && \
+ find . -type f ! \( -path '*.cvsignore' -o -path '*CVS*' \) -exec cp -p {} $(PKGDOCDIR)/{} ";"
.PHONY: default install VERSION