src/platforms/symbian/installs/hbinstall.flm
changeset 34 ed14f46c0e55
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
       
     1 # /****************************************************************************
       
     2 # **
       
     3 # ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # ** Contact: Nokia Corporation (developer.feedback@nokia.com)
       
     5 # **
       
     6 # ****************************************************************************/
       
     7 
       
     8 # FLM to do post install actions for hb.
       
     9 
       
    10 HBDIR:=$(EXTENSION_ROOT)/$(HB_ROOT)
       
    11 
       
    12 GUARD:=done_$(call sanitise,$(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin)
       
    13 ifeq ($($(GUARD)),)
       
    14 $(GUARD):=1
       
    15 
       
    16 define hbinstall
       
    17 
       
    18 FINAL:: $(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin
       
    19 
       
    20 $(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin: $(HBDIR)/hb.pro TARGET
       
    21 	$(call startrule,hbinstall) \
       
    22 	cd $(HBDIR) && \
       
    23 	export EPOCROOT="$(EPOCROOT)" && \
       
    24 	export QT_SIS_TARGET=release-armv5 && \
       
    25 	$(GNUMAKE38) install
       
    26 	$(call endrule,hbinstall)
       
    27 
       
    28 endef
       
    29 
       
    30 $(eval $(hbinstall))
       
    31 
       
    32 # Covenience headers etc. this should be a call to make distclean on the $(HBDIR)
       
    33 $(eval $(call GenerateStandardCleanTarget, $(HBDIR)/.qmake.cache))
       
    34 endif
       
    35