Added another $ so that turning on MBM output won't remove everything else from the lit of releaseables.
Removed spaces so that, when variables are expanded at the start of a line, there's no space in the expansion, so make understands it!
--- a/skins/AknSkinContent/group/skingenerator.flm Fri Apr 16 13:55:02 2010 +0100
+++ b/skins/AknSkinContent/group/skingenerator.flm Thu Apr 22 17:50:50 2010 +0100
@@ -60,9 +60,9 @@
AKNSGENDIR:=$(subst //,/,$(AKNSGENDIR))
EPOCTOOLS:=$(subst //,/,$(EPOCTOOLS))
-TARGETSKN:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).skn),$(AKNSTARGETDIR)))
-TARGETMIF:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).mif),$(AKNSBMPTARGETDIR)))
-TARGETMBM:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).mbm),$(AKNSBMPTARGETDIR)))
+TARGETSKN:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).skn),$(AKNSTARGETDIR)))
+TARGETMIF:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).mif),$(AKNSBMPTARGETDIR)))
+TARGETMBM:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).mbm),$(AKNSBMPTARGETDIR)))
CREATABLEPATHS:=$(CREATABLEPATHS) $(AKNSGENDIR) $(AKNSDATAGENDIR)
@@ -81,7 +81,7 @@
$(SKNMIFGUARD):=1
RELEASEABLES:=$(TARGETSKN) $(TARGETMIF)
ifeq ($(INPUTBMPS),yes)
-RELEASEABLES:=$(RELEASEABLES) $(TARGETMBM)
+RELEASEABLES:=$$(RELEASEABLES) $(TARGETMBM)
endif
BITMAP:: $$(RELEASEABLES)