[csw-devel] SF.net SVN: gar:[17460] csw/mgar/gar/v2/gar.pkg.mk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Mar 19 15:46:28 CET 2012


Revision: 17460
          http://gar.svn.sourceforge.net/gar/?rev=17460&view=rev
Author:   wahwah
Date:     2012-03-19 14:46:28 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
mGAR v2: README.CSW support, base directories

Before copying README.CSW, make sure that the base directory already exists.

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.pkg.mk

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2012-03-19 13:02:28 UTC (rev 17459)
+++ csw/mgar/gar/v2/gar.pkg.mk	2012-03-19 14:46:28 UTC (rev 17460)
@@ -738,6 +738,11 @@
 reset-merge-license:
 	@rm -f $(COOKIEDIR)/merge-license $(foreach SPEC,$(_PKG_SPECS),$(COOKIEDIR)/merge-license-$(SPEC))
 
+merge-README.CSW: $(WORKDIR)
+	$(_DBG)if test -f $(WORKDIR)/README.CSW; then \
+		$(foreach P,$(_PKG_SPECS),mkdir -p $(PKGROOT)$(docdir)/$(call catalogname,$P);) \
+		$(foreach P,$(_PKG_SPECS),cp $(WORKDIR)/README.CSW $(PKGROOT)$(docdir)/$(call catalogname,$P)/README.CSW;) \
+
 merge-distfile-%: $(DOWNLOADDIR)
 	$(_DBG_MERGE)if test -f $(DOWNLOADDIR)/$*; then \
 		$(foreach P,$(_PKG_SPECS),mkdir -p $(PKGROOT)$(docdir)/$(call catalogname,$P);) \

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