hb.pro
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
--- a/hb.pro	Wed Aug 18 10:05:37 2010 +0300
+++ b/hb.pro	Thu Sep 02 20:44:51 2010 +0300
@@ -76,10 +76,13 @@
 INSTALLS += cssbinary
 
 symbian {
-    cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/)
-    cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/)
-    QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/data/z/resource/hb/themes/$$cssbinary.files
-    QMAKE_DISTCLEAN += $$${EPOCROOT}/epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files
+    # TODO: Magic ahead
+    makefile_epocroot=$${EPOCROOT}
+    hbUnixStyle():makefile_epocroot=$$${EPOCROOT}/
+    cssbinary.commands += $$hbCopyCommand($$cssbinary.files, $${makefile_epocroot}epoc32/data/z/resource/hb/themes/)
+    cssbinary.commands += && $$hbCopyCommand($$cssbinary.files, $${makefile_epocroot}epoc32/release/winscw/udeb/z/resource/hb/themes/)
+    QMAKE_DISTCLEAN += $${makefile_epocroot}epoc32/data/z/resource/hb/themes/$$cssbinary.files
+    QMAKE_DISTCLEAN += $${makefile_epocroot}epoc32/release/winscw/udeb/z/resource/hb/themes/$$cssbinary.files
     QMAKE_EXTRA_TARGETS += cssbinary
 }