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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Feb 10 22:12:18 CET 2009


Revision: 3057
          http://gar.svn.sourceforge.net/gar/?rev=3057&view=rev
Author:   dmichelsen
Date:     2009-02-10 21:12:17 +0000 (Tue, 10 Feb 2009)

Log Message:
-----------
mGAR v2: Add missing dependency of dynamic files to WORKDIR

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-02-10 20:44:42 UTC (rev 3056)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-02-10 21:12:17 UTC (rev 3057)
@@ -254,7 +254,7 @@
 
 # $_EXTRA_GAR_PKGS is for dynamic dependencies added by GAR itself (like CSWisaexec or CSWcswclassutils)
 .PRECIOUS: $(WORKDIR)/%.depend
-$(WORKDIR)/%.depend:
+$(WORKDIR)/%.depend: $(WORKDIR)
 	$(_DBG)$(if $(_EXTRA_GAR_PKGS)$(REQUIRED_PKGS_$*)$(REQUIRED_PKGS)$(INCOMPATIBLE_PKGS)$(INCOMPATIBLE_PKGS_$*), \
 		($(foreach PKG,$(INCOMPATIBLE_PKGS_$*) $(INCOMPATIBLE_PKGS),\
 			echo "I $(PKG)";\
@@ -281,7 +281,7 @@
 
 # This rule dynamically generates gspec-files
 .PRECIOUS: $(WORKDIR)/%.gspec
-$(WORKDIR)/%.gspec:
+$(WORKDIR)/%.gspec: $(WORKDIR)
 	$(_DBG)(echo "%var            bitname $(call catalogname,$*)"; \
 	echo "%var            pkgname $*"; \
 	$(if $(or $(ARCHALL),$(ARCHALL_$*)),echo "%var            arch all";) \
@@ -336,7 +336,7 @@
 endef
 
 .PRECIOUS: $(WORKDIR)/%.pkginfo
-$(WORKDIR)/%.pkginfo:
+$(WORKDIR)/%.pkginfo: $(WORKDIR)
 	$(_DBG)(echo "PKG=$*"; \
 	echo "NAME=$(call catalogname,$*) - $(SPKG_DESC)"; \
 	echo "ARCH=$(GARCH)"; \


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