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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 20 16:21:06 CET 2009


Revision: 3289
          http://gar.svn.sourceforge.net/gar/?rev=3289&view=rev
Author:   dmichelsen
Date:     2009-02-20 15:21:06 +0000 (Fri, 20 Feb 2009)

Log Message:
-----------
mGAR v2: Fix pathfilter on packages without any includes or excludes

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-20 15:20:42 UTC (rev 3288)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-02-20 15:21:06 UTC (rev 3289)
@@ -241,7 +241,7 @@
 	      -n "$(_PKGFILES_EXCLUDE)" -o \
 	      -n "$(ISAEXEC_FILES_$*)" -o \
 	      -n "$(ISAEXEC_FILES)" ]; then \
-	  (pathfilter -i $(call licensedir,$*)/license \
+	  (pathfilter $(if $(or $(_PKGFILES_EXCLUDE),$(_PKGFILES_INCLUDE)),-i $(call licensedir,$*)/license) \
 		      $(foreach S,$(filter-out $*,$(SPKG_SPECS)),-x $(call licensedir,$S)/license) \
 		      $(foreach FILE,$(_PKGFILES_INCLUDE),-i '$(FILE)') \
 		      $(if $(_PKGFILES_INCLUDE),-x '.*',$(foreach FILE,$(_PKGFILES_EXCLUDE),-x '$(FILE)')) \


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