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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 23 17:25:59 CET 2010


Revision: 11701
          http://gar.svn.sourceforge.net/gar/?rev=11701&view=rev
Author:   dmichelsen
Date:     2010-11-23 16:25:59 +0000 (Tue, 23 Nov 2010)

Log Message:
-----------
mGAR pkg template: Use DISTNAME as it is more consistent with license lookup

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

Modified: csw/mgar/pkg/Makefile
===================================================================
--- csw/mgar/pkg/Makefile	2010-11-23 16:13:44 UTC (rev 11700)
+++ csw/mgar/pkg/Makefile	2010-11-23 16:25:59 UTC (rev 11701)
@@ -59,7 +59,7 @@
 # ...
 
 garlinks:
-	@(svn propget svn:externals -R | perl -ane 'next if( /^$$/ ); if( $$F[1] eq "-" ) { ($$path,$$sep,$$dir,$$link)=@F; } else { ($$dir,$$link) = @F; } ($$upsteps=$$path)=~s![^/]+!..!g;(($$linkdest=$$link))=~ s!https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar!$$upsteps!;print "Linking $$path/$$dir to ../$$linkdest", symlink("../$$linkdest","$$path/$$dir") ? "" : " failed", "\n";')
+	@(svn propget svn:externals -R | perl -ane 'next if( /^$$/ ); if( $$F[1] eq "-" ) { ($$path,$$sep,$$dir,$$link)=@F; } else { ($$dir,$$link) = @F; } ($$upsteps=$$path)=~s![^/]+!..!g;(($$linkdest=$$link))=~ s!https://gar.svn.(?:sourceforge|sf).net/svnroot/gar/csw/mgar!$$upsteps!;unlink("$$path/$$dir"); print "Linking $$path/$$dir to ../$$linkdest", symlink("../$$linkdest","$$path/$$dir") ? "" : " failed", "\n";')
 
 pkglist:
 	@for i in $(filter-out $(FILTER_DIRS),$(foreach D,. $(SUBDIRS),$(wildcard $D/*/))) ; do \
@@ -79,7 +79,7 @@
 	echo "endef";                                                   								\
 	echo "";                                                        								\
 	echo "MASTER_SITES = ";                                         								\
-	echo "DISTFILES  = $$(GARNAME)-$$(GARVERSION).tar.gz";          								\
+	echo "DISTFILES  = $$(DISTNAME).tar.gz";          								\
 	echo "";                                                        								\
 	echo "# File name regex to get notifications about upstream software releases";  	\
 	echo "UFILES_REGEX = $$(GARNAME)-(\d+(?:\.\d+)*).tar.gz";										\


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