[csw-devel] SF.net SVN: gar:[10325] csw/mgar/pkg/TEMPLATES/createpkg

theferret at users.sourceforge.net theferret at users.sourceforge.net
Fri Jun 25 19:39:56 CEST 2010


Revision: 10325
          http://gar.svn.sourceforge.net/gar/?rev=10325&view=rev
Author:   theferret
Date:     2010-06-25 17:39:55 +0000 (Fri, 25 Jun 2010)

Log Message:
-----------
TEMPLATES/createpkg tweaks to makefiles

Modified Paths:
--------------
    csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib
    csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32

Modified: csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib	2010-06-25 17:30:57 UTC (rev 10324)
+++ csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib	2010-06-25 17:39:55 UTC (rev 10325)
@@ -110,7 +110,15 @@
 patch:
 	@echo patch: patching is handled automatically as part of the configure phase.
 
-package:
+stage-preserved:
+	if test -f preserve-$(ARCH).tar ; then \
+		cat preserve-$(ARCH).tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	fi
+	if test -f preserve.tar ; then \
+		cat preserve.tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	fi
+		
+package:	stage-preserved
 	$(CREATEPKG)
 
 

Modified: csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32	2010-06-25 17:30:57 UTC (rev 10324)
+++ csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32	2010-06-25 17:39:55 UTC (rev 10325)
@@ -87,7 +87,15 @@
 patch:
 	@echo patch: patching is handled automatically as part of the configure phase.
 
-package:
+stage-preserved:
+	if test -f preserve-$(ARCH).tar ; then \
+		cat preserve-$(ARCH).tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	fi
+	if test -f preserve.tar ; then \
+		cat preserve.tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	fi
+		
+package:	stage-preserved
 	$(CREATEPKG)
 
 


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