From 8e37fa63404fc598784f249903ad646811162cc8 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Thu, 28 Dec 2000 06:08:30 +0000 Subject: [PATCH] We don't want to install CVS files, but the -P option to cp means something different on FreeBSD than it means on Linux. This puts the recursive copy back in, and just has us delete the CVS directories after they are copied into place. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87541 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 72e6a90576a..d29aaf4d041 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,19 +53,22 @@ docs: include/*.h install-htdocs: @echo Installing HTML documents @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir) - @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(htdocsdir) \;) + @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir)) @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual - @test -d docs/manual && (cd docs/manual && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(htdocsdir)/manual \;) + @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual) + @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;) install-icons: @echo Installing icons @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir) - @(cd docs/icons && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(iconsdir) \;) + @(cd docs/icons && cp -rp * $(iconsdir)) + @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;) install-cgi: @echo Installing CGIs @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir) - @(cd docs/cgi-examples && find . ! -path '*CVS*' -a ! -type d -exec cp -Pp {} $(cgidir) \;) + @(cd docs/cgi-examples && cp -rp * $(cgidir)) + @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;) install-support: @echo Installing Support Binaries -- 2.47.3