[csw-devel] SF.net SVN: gar:[3096] csw/mgar/gar/v2/gar.pkg.mk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Feb 13 13:35:39 CET 2009
Revision: 3096
http://gar.svn.sourceforge.net/gar/?rev=3096&view=rev
Author: dmichelsen
Date: 2009-02-13 12:35:39 +0000 (Fri, 13 Feb 2009)
Log Message:
-----------
mGAR v2: Preserve gspec when using DISTFILES
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-13 11:09:06 UTC (rev 3095)
+++ csw/mgar/gar/v2/gar.pkg.mk 2009-02-13 12:35:39 UTC (rev 3096)
@@ -283,11 +283,13 @@
# This rule dynamically generates gspec-files
.PRECIOUS: $(WORKDIR)/%.gspec
-$(WORKDIR)/%.gspec: $(WORKDIR)
- $(_DBG)(echo "%var bitname $(call catalogname,$*)"; \
- echo "%var pkgname $*"; \
- $(if $(or $(ARCHALL),$(ARCHALL_$*)),echo "%var arch all";) \
- echo "%include url file://%{PKGLIB}/csw_dyngspec.gspec") >$@
+$(WORKDIR)/%.gspec:
+ $(_DBG)$(if $(filter $*.gspec,$(DISTFILES)),,
+ (echo "%var bitname $(call catalogname,$*)"; \
+ echo "%var pkgname $*"; \
+ $(if $(or $(ARCHALL),$(ARCHALL_$*)),echo "%var arch all";) \
+ echo "%include url file://%{PKGLIB}/csw_dyngspec.gspec") >$@
+ )
# Dynamic licenses are selected in the following way:
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