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

theferret at users.sourceforge.net theferret at users.sourceforge.net
Sat Jun 26 19:42:09 CEST 2010


Revision: 10339
          http://gar.svn.sourceforge.net/gar/?rev=10339&view=rev
Author:   theferret
Date:     2010-06-26 17:42:09 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
TEMPLATES/createpkg: minor makefile tweaks

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-26 13:54:37 UTC (rev 10338)
+++ csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib	2010-06-26 17:42:09 UTC (rev 10339)
@@ -111,11 +111,13 @@
 	@echo patch: patching is handled automatically as part of the configure phase.
 
 stage-preserved:
-	if test -f preserve-$(ARCH).tar ; then \
-		cat preserve-$(ARCH).tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	@if test -f preserve-$(ARCH).tar ; then \
+		echo Copying preserved arch-specific files; \
+		cat preserve-$(ARCH).tar |(cd $(SRCDIR)/cswstage && tar xvf -);\
 	fi
-	if test -f preserve.tar ; then \
-		cat preserve.tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	@if test -f preserve.tar ; then \
+		echo Copying preserved arch-neutral files; \
+		cat preserve.tar |(cd $(SRCDIR)/cswstage && tar xvf -);\
 	fi
 		
 package:	stage-preserved
@@ -226,3 +228,7 @@
 stage-$(ARCH)-64:	build/.stage-$(ARCH)-64.done
 	@echo $@ done
 
+# manual targets
+pkgproto:
+	cat $(SRCDIR)/cswstage/prototype | sed 's/root root$$/root bin/'>prototype
+	@echo Dont forget to add a COPYING line !!

Modified: csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32	2010-06-26 13:54:37 UTC (rev 10338)
+++ csw/mgar/pkg/TEMPLATES/createpkg/Makefile.lib32	2010-06-26 17:42:09 UTC (rev 10339)
@@ -88,11 +88,13 @@
 	@echo patch: patching is handled automatically as part of the configure phase.
 
 stage-preserved:
-	if test -f preserve-$(ARCH).tar ; then \
-		cat preserve-$(ARCH).tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	@if test -f preserve-$(ARCH).tar ; then \
+		echo Copying preserved arch-specific files; \
+		cat preserve-$(ARCH).tar |(cd $(SRCDIR)/cswstage && tar xvf -);\
 	fi
-	if test -f preserve.tar ; then \
-		cat preserve.tar |(cd $SRCDIR/cswstage && tar xvf -);\
+	@if test -f preserve.tar ; then \
+		echo Copying preserved arch-neutral files; \
+		cat preserve.tar |(cd $(SRCDIR)/cswstage && tar xvf -);\
 	fi
 		
 package:	stage-preserved
@@ -160,3 +162,8 @@
 	@echo $@ done
 stage-$(ARCH)-32:	build/.stage-$(ARCH)-32.done
 	@echo $@ done
+
+# manual targets
+pkgproto:
+	cat $(SRCDIR)/cswstage/prototype | sed 's/root root$$/root bin/'>prototype
+	@echo Dont forget to add a COPYING line !!


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