bin/installs.py
changeset 17 a5dfa7884e30
parent 12 aa35df067ae7
child 21 e81654f8e7d8
--- a/bin/installs.py	Thu Sep 02 21:00:34 2010 +0300
+++ b/bin/installs.py	Fri Sep 17 08:33:32 2010 +0300
@@ -84,7 +84,7 @@
                 target = make_target(root)
                 relpath = os.path.relpath(root, input_dir).replace("\\", "/")
                 if os.path.splitext(file)[1] == ".zip":
-                    out.write("symbian:BLD_INF_RULES.prj_exports += \":zip %s $${EPOCROOT}epoc32/data/z/resource/hb/themes/%s/\"\n" % (filepath, relpath)) 
+                    out.write("symbian:BLD_INF_RULES.prj_exports += \":zip %s $${EPOCROOT}epoc32/data/z/resource/hb/themes/%s/\"\n" % (filepath, relpath))
                     out.write("symbian:BLD_INF_RULES.prj_exports += \":zip %s $${EPOCROOT}epoc32/winscw/c/resource/hb/themes/%s/\"\n" % (filepath, relpath))
                     out.write("!isEmpty(%s.commands): %s.commands += &&\n" % (target, target))
                     out.write("%s.commands += $$QMAKE_UNZIP %s -d $$(HB_THEMES_DIR)/themes/%s\n" % (target, filepath, relpath))
@@ -97,6 +97,7 @@
                     out.write("%s.path = $$(HB_THEMES_DIR)/themes/%s\n" % (target, relpath))
                     out.write("INSTALLS += %s\n" % target)
                     roots.append(root)
+                out.write("QMAKE_CLEAN += %s\n" % filepath)
     out.close()
     return 0