Gimp/plug-ins/python/Makefile.am
Jehan 3c6360a373 plug-ins: port spyro-plus to Python 3 + new API.
It is a nearly full port. Some things would still need to be updated
(like deprecated use of GtkTable or gtk_range_set_update_policy()
removed), and other stuff need to be taken care of in GIMP API first.
But the core of the feature is there.
2019-09-02 11:42:38 +02:00

64 lines
1.6 KiB
Makefile

## Process this file with automake to produce Makefile.in
SUBDIRS = \
python-console
file_openrasterdir = $(gimpplugindir)/plug-ins/file-openraster
file_openraster_SCRIPTS = file-openraster.py
foggifydir = $(gimpplugindir)/plug-ins/foggify
foggify_SCRIPTS = foggify.py
palette_offsetdir = $(gimpplugindir)/plug-ins/palette-offset
palette_offset_SCRIPTS = palette-offset.py
palette_to_gradientdir = $(gimpplugindir)/plug-ins/palette-to-gradient
palette_to_gradient_SCRIPTS = palette-to-gradient.py
py_slicedir = $(gimpplugindir)/plug-ins/py-slice
py_slice_SCRIPTS = py-slice.py
spyro_plusdir = $(gimpplugindir)/plug-ins/spyro-plus
spyro_plus_SCRIPTS = spyro-plus.py
# TODO: to be ported:
## colorxhtml.py
## gradients-save-as-css.py
## histogram-export.py
## palette-sort.py
## python-eval.py
if GIMP_UNSTABLE
## benchmark-foreground-extract.py
## clothify.py
## shadow_bevel.py
## sphere.py
## whirlpinch.py
endif
EXTRA_DIST = \
file-openraster.py \
foggify.py \
palette-offset.py \
palette-to-gradient.py \
py-slice.py \
spyro-plus.py
# Python interpreter file.
pyinterpdir = $(gimpplugindir)/interpreters
pyinterpfile = $(pyinterpdir)/pygimp.interp
if HAS_PYTHON_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
endif
uninstall-local:
rm -f '$(DESTDIR)$(pyinterpfile)'