Gimp/plug-ins/python/Makefile.am
Jehan 62d87f15d9 plug-ins: port python-console to new GObject-introspected API.
I may have missed things. That is the problem of non-compiled script
languages. There is also a known warning:
> DeprecationWarning: Gtk.Dialog.set_alternative_button_order_from_array is deprecated
I'll see later about this one.

Push-time note: calling various functions is actually broken right now
in the console since the late API changes (it was working fine yesterday
evening when I tested the same python-console code). Pushing anyway for
now.
2019-07-30 12:57:59 +02:00

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)'