[csw-devel] SF.net SVN: gar:[9871] csw/mgar/pkg/Makefile

theferret at users.sourceforge.net theferret at users.sourceforge.net
Fri May 14 23:53:21 CEST 2010


Revision: 9871
          http://gar.svn.sourceforge.net/gar/?rev=9871&view=rev
Author:   theferret
Date:     2010-05-14 21:53:21 +0000 (Fri, 14 May 2010)

Log Message:
-----------
Added  createpkg-% target that makes use of TEMPLATES/createpkg

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

Modified: csw/mgar/pkg/Makefile
===================================================================
--- csw/mgar/pkg/Makefile	2010-05-14 21:51:24 UTC (rev 9870)
+++ csw/mgar/pkg/Makefile	2010-05-14 21:53:21 UTC (rev 9871)
@@ -9,6 +9,10 @@
 # This contains all directories containing packages
 SUBDIRS = cpan xfce
 
+
+MY_SVN_DIR=$(shell svn info | awk -F: '$$1=="URL"{print $$2":"$$3}' )
+
+
 FILTER_DIRS = CVS/
 
 default:
@@ -101,3 +105,12 @@
 	@echo
 	@echo "Your package is set up for editing at $*/trunk"
 
+
+TEMPLATES/createpkg:
+	@echo Checking out TEMPLATES directory...
+	svn --ignore-externals co $(MY_SVN_DIR)/TEMPLATES
+
+
+createpkg-%: TEMPLATES/createpkg
+	@TEMPLATES/createpkg/copy_template $*
+	


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