mkspecs/symbian-sbsv2/flm/qt/ts2qm.flm
branchRCL_3
changeset 6 dee5afe5301f
parent 5 d3bac044e0f0
equal deleted inserted replaced
5:d3bac044e0f0 6:dee5afe5301f
     5 # **
     5 # **
     6 # ****************************************************************************/
     6 # ****************************************************************************/
     7 
     7 
     8 # FLM to convert .ts to .qm
     8 # FLM to convert .ts to .qm
     9 
     9 
    10 # Make sure that EPOCROOT ends in /
    10 LRELEASE:=$(EPOCROOT)/epoc32/tools/qt/lrelease$(DOTEXE)
    11 EPOCROOT:=$(patsubst %/,%,$(EPOCROOT))/
       
    12 LRELEASE:=$(EPOCROOT)epoc32/tools/qt/lrelease$(DOTEXE)
       
    13 #TSFILE:=$(EPOCROOT)$(TSFILE)
    11 #TSFILE:=$(EPOCROOT)$(TSFILE)
    14 #QMFILE:=$(EPOCROOT)$(QMFILE)
    12 #QMFILE:=$(EPOCROOT)$(QMFILE)
    15 
    13 
    16 define ts2qm
    14 define ts2qm
    17 $(QMFILE): $(TSFILE)
    15 $(QMFILE): $(TSFILE)
    25 # If variable "done_..." not set, set it to 1, so that
    23 # If variable "done_..." not set, set it to 1, so that
    26 # UREL and UDEB do not execute makesis twice on the same target
    24 # UREL and UDEB do not execute makesis twice on the same target
    27 ifeq ($($(GUARD)),)
    25 ifeq ($($(GUARD)),)
    28 $(GUARD):=1
    26 $(GUARD):=1
    29 ALL:: $(QMFILE)
    27 ALL:: $(QMFILE)
    30 RESOURCE:: $(QMFILE)
       
    31 $(eval $(call ts2qm))
    28 $(eval $(call ts2qm))
    32 $(eval $(call whatmacro,$(QMFILE)))
    29 $(eval $(call whatmacro,$(QMFILE)))
    33 $(eval $(call GenerateStandardCleanTarget,$(QMFILE),''))
    30 $(eval $(call GenerateStandardCleanTarget,$(QMFILE),''))
    34 endif
    31 endif