revert some no more needed bug_258_sorting_of_configsatlist changes
[enigma2.git] / lib / python / Plugins / newplugin.py
index c84f0609dac80601a849ba5ab4e6a704f504ebcf..48bb28ea4b0e84059411a8852d49b2b0ee059eb6 100644 (file)
@@ -134,4 +134,13 @@ def Plugins(**kwargs):
        return %s
        """ % descriptorlist)
 
-file.close()
\ No newline at end of file
+file.close()
+
+makefile = open(pluginpath + "/Makefile.am", "w")
+makefile.write("""installdir = $(LIBDIR)/enigma2/python/Plugins/%s/%s
+
+install_PYTHON = \\
+       __init__.py \\
+       plugin.py
+""" % (category, internalname))
+makefile.close()