Updated use of multiple expansion guard to use a sanitised string for the variable name.
--- 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