]> granicus.if.org Git - apache/commitdiff
We don't want to install the CVS directory when we use make install
authorRyan Bloom <rbb@apache.org>
Wed, 27 Dec 2000 01:25:18 +0000 (01:25 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 27 Dec 2000 01:25:18 +0000 (01:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87529 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index 29d03a303f1bf3d71948be487094b5a1ca98eac8..d646f4361084403690239a1a1ef429374b7567fa 100644 (file)
@@ -53,19 +53,19 @@ docs: include/*.h
 install-htdocs:
        @echo Installing HTML documents
        @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
-       @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
+       @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {}  $(htdocsdir) \;)
        @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
-       @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
+       @test -d docs/manual && (cd docs/manual && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(htdocsdir)/manual \;)
 
 install-icons:
        @echo Installing icons
        @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
-       @(cd docs/icons && cp -rp * $(iconsdir))
+       @(cd docs/icons && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {}  $(iconsdir) \;)
 
 install-cgi:
        @echo Installing CGIs
        @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
-       @(cd docs/cgi-examples && cp -rp * $(cgidir))
+       @(cd docs/cgi-examples && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(cgidir) \;)
 
 install-support:
        @echo Installing Support Binaries