src/platforms/symbian/installs/hbinstall.flm
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 10:05:37 +0300
changeset 21 4633027730f5
permissions -rw-r--r--
Revision: 201031 Kit: 201033

# /****************************************************************************
# **
# ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
# ** Contact: Nokia Corporation (developer.feedback@nokia.com)
# **
# ****************************************************************************/

# FLM to do post install actions for hb.

HBDIR:=$(EXTENSION_ROOT)/$(HB_ROOT)

GUARD:=done_$(call sanitise,$(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin)
ifeq ($($(GUARD)),)
$(GUARD):=1

define hbinstall

FINAL:: $(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin

$(HBDIR)/src/hbcore/resources/themes/hbdefault.cssbin: $(HBDIR)/hb.pro TARGET
	$(call startrule,hbinstall) \
	cd $(HBDIR) && \
	export EPOCROOT="$(EPOCROOT)" && \
	$(GNUMAKE38) install
	$(call endrule,hbinstall)

endef

$(eval $(hbinstall))

# Covenience headers etc. this should be a call to make distclean on the $(HBDIR)
$(eval $(call GenerateStandardCleanTarget, $(HBDIR)/.qmake.cache))
endif