[csw-devel] SF.net SVN: gar:[11074] csw/mgar/pkg/apache2/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Sep 28 18:05:38 CEST 2010


Revision: 11074
          http://gar.svn.sourceforge.net/gar/?rev=11074&view=rev
Author:   bdwalton
Date:     2010-09-28 16:05:38 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
apache2: add README files documenting re-org

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/Makefile

Modified: csw/mgar/pkg/apache2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apache2/trunk/Makefile	2010-09-28 15:09:15 UTC (rev 11073)
+++ csw/mgar/pkg/apache2/trunk/Makefile	2010-09-28 16:05:38 UTC (rev 11074)
@@ -36,6 +36,7 @@
 DISTFILES += httpd-mpm.conf.CSW
 DISTFILES += httpd-ssl.conf.CSW
 DISTFILES += update20to22
+DISTFILES += README.CSW.apache2 README.CSW.ap2_prefork README.CSW.ap2_worker
 
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
@@ -163,6 +164,10 @@
 PKGFILES_CSWap2suexec = .*sbin/suexec .*libexecdir/.*suexec.* .*/man/.*suexec.*
 PKGFILES_CSWapache2-devel = $(PKGFILES_DEVEL)
 PKGFILES_CSWapache2-manual = .*share/.*manual.* .*etc/extra/httpd-manual.conf
+ifeq ($(NEED_DUMMY_AP2), 1)
+PKGFILES_CSWap2prefork = .*share/doc/ap2_prefork.*
+PKGFILES_CSWap2worker = .*share/doc/ap2_worker.*
+endif
 
 include gar/category.mk
 
@@ -178,8 +183,15 @@
 	@$(MAKECOOKIE)
 
 
-post-install-modulated: rename-httpd copy-local-files create-templates
+post-install-modulated: rename-httpd copy-local-files create-templates copy-readmes
 
+copy-readmes:
+	@(cd $(WORKDIR); for f in README.CSW*; do \
+		p=`echo $$f | sed 's/README.CSW.//'`; \
+		ginstall -d -m0755 $(DESTDIR)/$(prefix)/share/doc/$$p; \
+		ginstall -m 0644 $$f $(DESTDIR)/$(prefix)/share/doc/$$p/README.CSW; \
+	done)
+
 rename-httpd:
 	@if test -f $(APACHE_ROOT)/sbin/httpd ; then \
 	    ( cd $(APACHE_ROOT)/sbin ; mv httpd httpd.$(MPM) ) ; \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list