httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r332907 - in /httpd/httpd/branches/2.2.x: Makefile.in acinclude.m4 configure.in
Date Sun, 13 Nov 2005 06:33:17 GMT
Author: jerenkrantz
Date: Sat Nov 12 22:33:15 2005
New Revision: 332907

URL: http://svn.apache.org/viewcvs?rev=332907&view=rev
Log:
Merge r292718:

Use rsync to install manual and htdocs to speed up installation times.

See log of 292718 for full description.

Modified:
    httpd/httpd/branches/2.2.x/Makefile.in
    httpd/httpd/branches/2.2.x/acinclude.m4
    httpd/httpd/branches/2.2.x/configure.in

Modified: httpd/httpd/branches/2.2.x/Makefile.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/Makefile.in?rev=332907&r1=332906&r2=332907&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/Makefile.in (original)
+++ httpd/httpd/branches/2.2.x/Makefile.in Sat Nov 12 22:33:15 2005
@@ -122,8 +122,12 @@
         else \
 	    echo Installing HTML documents ; \
 	    $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
-	    test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir))
; \
-	    cd $(DESTDIR)$(htdocsdir) && find . -name ".svn" -type d -print | xargs rm -rf
2>/dev/null || true; \
+	    if test -d $(htdocs-srcdir) && test "x$(RSYNC)" != "x" && test -x $(RSYNC)
; then \
+		$(RSYNC) --exclude .svn -rlpt --numeric-ids $(htdocs-srcdir)/ $(DESTDIR)$(htdocsdir)/;
\
+	    else \
+		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir))
; \
+		cd $(DESTDIR)$(htdocsdir) && find . -name ".svn" -type d -print | xargs rm -rf
2>/dev/null || true; \
+	    fi; \
 	fi
 
 install-error:
@@ -202,8 +206,12 @@
 	@test -d $(DESTDIR)$(manualdir)   || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir)
 	@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 ".svn" -type d -print | xargs rm -rf
2>/dev/null ) || true
+	@if test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \
+	  $(RSYNC) --exclude .svn -rlpt --numeric-ids $(top_srcdir)/docs/manual/ $(DESTDIR)$(manualdir)/;
\
+	else \
+	  cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir); \
+	  cd $(DESTDIR)$(manualdir) && find . -name ".svn" -type d -print | xargs rm -rf
2>/dev/null; \
+	fi
 
 install-suexec:
 	@if test -f $(builddir)/support/suexec; then \

Modified: httpd/httpd/branches/2.2.x/acinclude.m4
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/acinclude.m4?rev=332907&r1=332906&r2=332907&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/acinclude.m4 (original)
+++ httpd/httpd/branches/2.2.x/acinclude.m4 Sat Nov 12 22:33:15 2005
@@ -75,6 +75,7 @@
   APACHE_SUBST(EXTRA_INCLUDES)
   APACHE_SUBST(LIBTOOL)
   APACHE_SUBST(SHELL)
+  APACHE_SUBST(RSYNC)
   APACHE_SUBST(MODULE_DIRS)
   APACHE_SUBST(MODULE_CLEANDIRS)
   APACHE_SUBST(PORT)

Modified: httpd/httpd/branches/2.2.x/configure.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/configure.in?rev=332907&r1=332906&r2=332907&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/configure.in (original)
+++ httpd/httpd/branches/2.2.x/configure.in Sat Nov 12 22:33:15 2005
@@ -297,6 +297,7 @@
 
 AC_PATH_PROG(RM, rm)
 AC_PATH_PROG(PKGCONFIG, pkg-config)
+AC_PATH_PROG(RSYNC, rsync)
 AC_PROG_AWK
 AC_PROG_LN_S
 AC_CHECK_TOOL(RANLIB, ranlib, true)



Mime
View raw message