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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Aug 27 16:27:38 CEST 2009


Revision: 6119
          http://gar.svn.sourceforge.net/gar/?rev=6119&view=rev
Author:   dmichelsen
Date:     2009-08-27 14:27:34 +0000 (Thu, 27 Aug 2009)

Log Message:
-----------
mGAR v2: Warn if specific SPKG_ variables have not been defined

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2009-08-27 13:18:32 UTC (rev 6118)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-08-27 14:27:34 UTC (rev 6119)
@@ -127,13 +127,22 @@
 # 3. There is a svn binary, but not everything was committed properly -> UNCOMMITTED
 # 4. There is a svn binary and everything was committed -> r<revision>
 
+ifndef SPKG_PACKAGER
+  $(warning Please set SPKG_PACKAGER in your .garrc file to your name)
+  SPKG_PACKAGER = Unknown
+endif
+
+ifndef SPKG_EMAIL
+  $(warning Please set SPKG_EMAIL in your .garrc file to your email address)
+  SPKG_EMAIL = Unknown
+endif
+
+
 SPKG_DESC      ?= $(DESCRIPTION)
 SPKG_VERSION   ?= $(GARVERSION)
 SPKG_CATEGORY  ?= application
 SPKG_SOURCEURL ?= $(firstword $(MASTER_SITES))
-SPKG_PACKAGER  ?= Unknown
 SPKG_VENDOR    ?= $(SPKG_SOURCEURL) packaged for CSW by $(SPKG_PACKAGER)
-SPKG_EMAIL     ?= Unknown
 SPKG_PSTAMP    ?= $(LOGNAME)@$(shell hostname)-$(call _REVISION)-$(shell date '+%Y%m%d%H%M%S')
 SPKG_BASEDIR   ?= $(prefix)
 SPKG_CLASSES   ?= none
@@ -141,7 +150,7 @@
 
 SPKG_SPOOLROOT ?= $(DESTROOT)
 SPKG_SPOOLDIR  ?= $(SPKG_SPOOLROOT)/spool.$(GAROSREL)-$(GARCH)
-SPKG_EXPORT    ?= $(WORKDIR)
+SPKG_EXPORT    ?= $(HOME)/staging/build-$(shell date '+%d.%b.%Y')
 SPKG_PKGROOT   ?= $(PKGROOT)
 SPKG_PKGBASE   ?= $(PKGROOT)
 SPKG_WORKDIR   ?= $(CURDIR)/$(WORKDIR)


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