]> granicus.if.org Git - apache/commitdiff
"Make install" would fail for released versions because they do not contain
authorMartin Kraemer <martin@apache.org>
Mon, 30 Sep 2002 15:34:40 +0000 (15:34 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 30 Sep 2002 15:34:40 +0000 (15:34 +0000)
CVS directories....

Noticed by Marco Lorig, mlorig at gmx dot net.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97031 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index e77ab2b0941b64d6b040a507423540af9063980d..c742ad58ef8345eb7dc073716de90ebc0c8a6779 100644 (file)
@@ -112,7 +112,7 @@ install-htdocs:
            echo Installing HTML documents ; \
            $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
            test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \
-           cd $(DESTDIR)$(htdocsdir) && find . -name "CVS" -print | xargs rm -rf ; \
+           cd $(DESTDIR)$(htdocsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
        fi
 
 install-error:
@@ -122,7 +122,7 @@ install-error:
            echo Installing error documents ; \
            $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \
            cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \
-           test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name "CVS" -print | xargs rm -rf ; \
+           test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
        fi
 
 install-icons:
@@ -132,7 +132,7 @@ install-icons:
            echo Installing icons ; \
            $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir) ; \
            cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ; \
-           test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name "CVS" -print | xargs rm -rf ; \
+           test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
        fi
 
 install-cgi:
@@ -142,7 +142,7 @@ install-cgi:
           echo Installing CGIs ; \
           $(MKINSTALLDIRS) $(DESTDIR)$(cgidir) ; \
           cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ; \
-          test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name "CVS" -print | xargs rm -rf ; \
+          test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
        fi
 
 install-other:
@@ -189,7 +189,7 @@ install-man:
        @cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
        @cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8
        @(cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir))
-       @(cd $(DESTDIR)$(manualdir) && find . -name "CVS" -print | xargs rm -rf)
+       @(cd $(DESTDIR)$(manualdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null ) || true
 
 install-suexec:
        @if test -f $(builddir)/support/suexec; then \