src/platforms/symbian/installs/hbinstall.flm
changeset 21 4633027730f5
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
       
     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 	$(GNUMAKE38) install
       
    25 	$(call endrule,hbinstall)
       
    26 
       
    27 endef
       
    28 
       
    29 $(eval $(hbinstall))
       
    30 
       
    31 # Covenience headers etc. this should be a call to make distclean on the $(HBDIR)
       
    32 $(eval $(call GenerateStandardCleanTarget, $(HBDIR)/.qmake.cache))
       
    33 endif
       
    34