This first version will just offset by 1 in interactive mode, by default. The GIMP 2 version used to have a GUI, but it was not created by the plug-in itself. I am guessing that maybe our Python wrapper used to create GUI by default. If so, this will have to change. Python plug-ins will be responsible of their own GUI, just like C plug-ins.
76 lines
1.9 KiB
Makefile
76 lines
1.9 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = \
|
|
python-console
|
|
|
|
pluginexecdir = $(gimpplugindir)/plug-ins
|
|
|
|
source_scripts = \
|
|
## colorxhtml.py \
|
|
## file-openraster.py \
|
|
## foggify.py \
|
|
## gradients-save-as-css.py \
|
|
## histogram-export.py \
|
|
palette-offset.py \
|
|
## palette-sort.py \
|
|
palette-to-gradient.py
|
|
## py-slice.py \
|
|
## python-eval.py \
|
|
## spyro_plus.py \
|
|
## \
|
|
## benchmark-foreground-extract.py \
|
|
## clothify.py \
|
|
## shadow_bevel.py \
|
|
## sphere.py \
|
|
## whirlpinch.py
|
|
|
|
scripts = \
|
|
## colorxhtml/colorxhtml.py \
|
|
## file-openraster/file-openraster.py \
|
|
## foggify/foggify.py \
|
|
## gradients-save-as-css/gradients-save-as-css.py \
|
|
## histogram-export/histogram-export.py \
|
|
palette-offset/palette-offset.py \
|
|
## palette-sort/palette-sort.py \
|
|
palette-to-gradient/palette-to-gradient.py
|
|
## py-slice/py-slice.py \
|
|
## python-eval/python-eval.py \
|
|
## spyro_plus/spyro_plus.py
|
|
|
|
#test_scripts = \
|
|
# benchmark-foreground-extract/benchmark-foreground-extract.py \
|
|
# clothify/clothify.py \
|
|
# shadow_bevel/shadow_bevel.py \
|
|
# sphere/sphere.py \
|
|
# whirlpinch/whirlpinch.py
|
|
|
|
$(scripts) $(test_scripts): $(source_scripts)
|
|
$(AM_V_GEN) mkdir -p $(@D) && cp -f "$(srcdir)/$(@F)" $@
|
|
|
|
nobase_pluginexec_SCRIPTS = $(scripts)
|
|
|
|
if GIMP_UNSTABLE
|
|
nobase_pluginexec_SCRIPTS += $(test_scripts)
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
$(source_scripts)
|
|
|
|
CLEANFILES = $(scripts) $(test_scripts)
|
|
|
|
# Python interpreter file.
|
|
|
|
pyinterpdir = $(gimpplugindir)/interpreters
|
|
pyinterpfile = $(pyinterpdir)/pygimp.interp
|
|
|
|
install-interp-file:
|
|
$(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)'
|
|
echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)'
|
|
echo 'python3=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
|
|
echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)'
|
|
echo ":Python:E::py::`basename $(PYTHON)`:" >> '$(DESTDIR)$(pyinterpfile)'
|
|
|
|
install-data-local: install-interp-file
|
|
|
|
uninstall-local:
|
|
rm -f '$(DESTDIR)$(pyinterpfile)'
|