plug-ins: install python-console plug-in in its own subdirectory.

As a consequence of commit efae55a, plug-ins should not install
data/library files alongside on the root plug-ins/ directory. If they
have such files, they should create a subdirectory named as the entry
point file. Obviously we should be the first to follow this guideline.
We had one such plug-in: python-console.py, which is importing
pyconsole.py. Let's have both these files under
plug-ins/python-console/.
This commit is contained in:
Jehan 2017-05-26 00:15:26 +02:00
parent efae55a73e
commit e985110250
1 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,6 @@ scripts = \
palette-sort.py \
palette-to-gradient.py \
py-slice.py \
python-console.py \
python-eval.py
test_scripts = \
@ -24,6 +23,10 @@ test_scripts = \
pluginexec_SCRIPTS = $(scripts)
pluginexec_DATA = pyconsole.py
# python-console has a data file.
# Therefore let's move it to its own sub-directory.
pythonconsoledir = $(gimpplugindir)/plug-ins/python-console
pythonconsole_SCRIPTS = python-console.py
dist_pythonconsole_DATA = pyconsole.py
EXTRA_DIST = $(pluginexec_DATA) $(scripts) $(test_scripts)
EXTRA_DIST = $(scripts) $(test_scripts)