[csw-devel] SF.net SVN: gar:[12158] csw/mgar/pkg/opencsw-policy/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Jan 3 15:18:34 CET 2011


Revision: 12158
          http://gar.svn.sourceforge.net/gar/?rev=12158&view=rev
Author:   wahwah
Date:     2011-01-03 14:18:34 +0000 (Mon, 03 Jan 2011)

Log Message:
-----------
opencsw-policy: Copying of sample index.html optional

Depending on the presence of ~/public_html/policy

(This is for testing.)

Modified Paths:
--------------
    csw/mgar/pkg/opencsw-policy/trunk/Makefile

Modified: csw/mgar/pkg/opencsw-policy/trunk/Makefile
===================================================================
--- csw/mgar/pkg/opencsw-policy/trunk/Makefile	2011-01-03 14:14:24 UTC (rev 12157)
+++ csw/mgar/pkg/opencsw-policy/trunk/Makefile	2011-01-03 14:18:34 UTC (rev 12158)
@@ -41,4 +41,6 @@
 	@$(MAKECOOKIE)
 
 post-merge:
-	cp $(PKGROOT)/opt/csw/share/doc/opencsw_policy/index.html $(HOME)/public_html/policy || true
+	if [ -d $(HOME)/public_html/policy ]; then \
+	  cp $(PKGROOT)/opt/csw/share/doc/opencsw_policy/index.html $(HOME)/public_html/policy; \
+	fi


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