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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Jul 4 02:12:14 CEST 2010


Revision: 10413
          http://gar.svn.sourceforge.net/gar/?rev=10413&view=rev
Author:   bdwalton
Date:     2010-07-04 00:12:13 +0000 (Sun, 04 Jul 2010)

Log Message:
-----------
gar/v2: add some 'svn add' helper text to git makepatch support

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

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2010-07-03 22:37:54 UTC (rev 10412)
+++ csw/mgar/gar/v2/gar.mk	2010-07-04 00:12:13 UTC (rev 10413)
@@ -482,10 +482,16 @@
 			( NEXTPATCH=`git log --pretty=oneline master..HEAD | wc -l | tr -d '[[:space:]]'`; \
 			git format-patch --start-number=$$NEXTPATCH csw-$(GARVERSION); \
 			echo Add the following to your recipe and then; \
+			NEWPATCHES=`echo 00*-*patch`; \
+			FILES_PATCHES=`for p in $$NEWPATCHES; do echo files/$$p; done`; \
 			echo rerun: gmake makesums; \
-			echo PATCHFILES +=  000$${NEXTPATCH}*; \
+			echo PATCHFILES +=  $$NEWPATCHES; \
 			echo "(or maybe PATCHFILES_$(MODULATION) ??)"; \
-			mv 000$${NEXTPATCH}*patch $(abspath $(FILEDIR)); ) \
+			echo "Don't forget:"; \
+			echo; \
+			echo "	svn add" $$FILES_PATCHES; \
+			echo; \
+			mv $$NEWPATCHES $(abspath $(FILEDIR)); ) \
 		fi; \
 	    else \
 		echo "No extracted sources so we can't create patches..."; \


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