Bug fix. Reversed the then and else part of the if function.

This commit is contained in:
Janet B. Anderson
2008-05-02 15:12:50 +00:00
parent 4c0015e261
commit 5c80b4902c

View File

@@ -120,8 +120,9 @@ endif
ifneq ($(RELEASE_TOPS),)
define TOP_RULES_template
RULES_TOP:=$$($(1))
-include $$(if $(patsubst $$($(1))/configure,,$$(CONFIG)),nonexistantFilename, \
$$(strip $$($(1)))/configure/RULES_BUILD)
-include $$(if $(patsubst $$($(1))/configure,,$$(CONFIG)),\
$$(strip $$($(1)))/configure/RULES_BUILD, \
nonexistantFilename)
-include $$(wildcard $$($(1))/cfg/RULES*) nonexistantFilename
endef
$(foreach top, $(RELEASE_TOPS), $(eval $(call TOP_RULES_template,$(top)) ))