clean up build
[enigma2.git] / lib / actions / parseactions.py
index 2462a7517b0e36d5cb2bf5fa629d2d278ed70e76..cad432a7e6f868a016db152a064411293f225e5a 100644 (file)
@@ -89,7 +89,7 @@ def do_file(f, mode):
 
                                                if mode == "include":
                                                        # hack hack hack!!
-                                                       print "#include <lib" + f[2:] + ">"
+                                                       print "#include <lib/" + '/'.join(f.split('/')[-2:]) + ">"
                                                else:
                                                        print "\t// " + f