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