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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jan 20 10:37:42 CET 2011


Revision: 13021
          http://gar.svn.sourceforge.net/gar/?rev=13021&view=rev
Author:   dmichelsen
Date:     2011-01-20 09:37:41 +0000 (Thu, 20 Jan 2011)

Log Message:
-----------
rbgems/Makefile: Add intermediate Makefile to newpkg-<gem>

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

Modified: csw/mgar/pkg/rbgems/Makefile
===================================================================
--- csw/mgar/pkg/rbgems/Makefile	2011-01-20 08:11:30 UTC (rev 13020)
+++ csw/mgar/pkg/rbgems/Makefile	2011-01-20 09:37:41 UTC (rev 13021)
@@ -28,15 +28,11 @@
 
 lcase = $(shell echo $(1) | tr '[A-Z]' '[a-z]' ) 
 
-# You can either use "gmake newpkg-Perl-Module" or "gmake newpkg-Perl::Module".
-# Ideally this would also figure out the AUTHOR by querying CPAN. Alternatively
-# we might think about dropping the AUTHOR field and determine that on the fly
-# during the build. Ideas?
-newpkg-%: catalogname = $(shell echo $(call lcase,$*) | tr -d ':-' )
+# You can use "gmake newpkg-ruby-gem".
 newpkg-%: dir = $(subst ::,-,$*)
 newpkg-%:
 	@svn mkdir $(dir) $(dir)/tags $(dir)/branches $(dir)/trunk $(dir)/trunk/files
-
+	@svn cp ../template/Makefile $(dir)/Makefile
 	@if [ -d ../../gar/v2 ]; then \
 	  ln -s ../../../../gar/v2 $(dir)/trunk/gar; \
 	  cd $(dir)/trunk/gar; svn update; \
@@ -44,6 +40,7 @@
 	  svn co https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2 $(dir)/trunk/gar; \
 	fi
 	@echo "gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2" | svn propset svn:externals -F /dev/fd/0 $(dir)/trunk
+	@echo "work\n" | svn propset svn:ignore -F /dev/fd/0 $(dir)/trunk
 	@(cd $(dir)/trunk/; gem fetch $*; gar/bin/gem2pkg *gem > Makefile; rm *gem)
 	@( cd $(dir)/trunk; gmake fetch; gmake makesums; gmake garchive );
 	@svn add $(dir)/trunk/Makefile $(dir)/trunk/checksums


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