git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WirelessLan/plugin.py: - always use quotes for the ssid name, small cleanup
[enigma2.git]
/
lib
/
python
/
Plugins
/
newplugin.py
diff --git
a/lib/python/Plugins/newplugin.py
b/lib/python/Plugins/newplugin.py
index c84f0609dac80601a849ba5ab4e6a704f504ebcf..48bb28ea4b0e84059411a8852d49b2b0ee059eb6 100644
(file)
--- a/
lib/python/Plugins/newplugin.py
+++ b/
lib/python/Plugins/newplugin.py
@@
-134,4
+134,13
@@
def Plugins(**kwargs):
return %s
""" % descriptorlist)
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()