# HG changeset patch # User Simon Howkins # Date 1288795061 0 # Node ID b4d0e228036c796b45f23dbc76255441919f7bef # Parent 4bd2599cdfb560c9a3495a946dbe4bd12f54e150 Updated use of multiple expansion guard to use a sanitised string for the variable name. diff -r 4bd2599cdfb5 -r b4d0e228036c gfxconversion/mifconv/makefile_templates/mifconv.flm --- a/gfxconversion/mifconv/makefile_templates/mifconv.flm Mon Oct 25 11:12:42 2010 +0100 +++ b/gfxconversion/mifconv/makefile_templates/mifconv.flm Wed Nov 03 14:37:41 2010 +0000 @@ -69,9 +69,12 @@ $(if $1,$(call groupsvgin10,$(wordlist 11,$(words $1),$1)),true) endef +MIFCONV_GUARD:=$(call sanitise,TARGET_$(TARGETFILE)) + define generatemif -TARGET_$(TARGETFILE):=1 +$(MIFCONV_GUARD):=1 + MIFCONVOPTS:=$(MIFCONVOPTS) BITMAPS:=$(addsuffix .bmp,$(BITMAPBASESOURCES)) @@ -100,7 +103,7 @@ endef -ifeq ($(TARGET_$(TARGETFILE)),) +ifeq ($($(MIFCONV_GUARD)),) $(eval $(call generatemif)) endif