src/platforms/symbian/installs/hbinstall.flm
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:32:10 +0300
changeset 28 b7da29130b0e
parent 21 4633027730f5
permissions -rw-r--r--
Revision: 201035 Kit: 201037

# /****************************************************************************
# **
# ** 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