checking whether a package needs date depends on the module, not the package
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 13 Feb 2008 15:04:58 +0000 (15:04 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 13 Feb 2008 15:04:58 +0000 (15:04 +0000)
Makefile

index f506605..a5131e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -219,9 +219,9 @@ $(foreach package, $(ALL), $(eval $(call stage1_variables,$(package))))
 # 
 define package_hasdate
 $(1).has-date = $(if $(subst myplc,,$(1)), \
-                 $(if $($(1)-SVNPATH),\
-                    $(if $(findstring /trunk,$($(1)-SVNPATH)),yes,),\
-                    $(if $(findstring HEAD,$($(1)-TAG)),yes,)), \
+                 $(if $($($(1).module)-SVNPATH),\
+                    $(if $(findstring /trunk,$($($(1).module)-SVNPATH)),yes,),\
+                    $(if $(findstring HEAD,$($($(1).module)-TAG)),yes,)), \
                yes)
 endef