src/platforms/symbian/installs/hbinstall.flm
changeset 21 4633027730f5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/platforms/symbian/installs/hbinstall.flm	Wed Aug 18 10:05:37 2010 +0300
@@ -0,0 +1,34 @@
+# /****************************************************************************
+# **
+# ** 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
+