[gimp/gtk3-port: 404/440] plug-ins: if GIMP_UNSTABLE, install test script-fu and pygimp scripts



commit cfed46c811fe6b6395ff1b8152dd6f6aceb3d0fe
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 10 20:39:27 2018 +0200

    plug-ins: if GIMP_UNSTABLE, install test script-fu and pygimp scripts

 plug-ins/pygimp/plug-ins/Makefile.am   |   28 ++++++++++++++++------------
 plug-ins/script-fu/scripts/Makefile.am |    3 +++
 2 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/Makefile.am b/plug-ins/pygimp/plug-ins/Makefile.am
index 38ca4d4..600c681 100644
--- a/plug-ins/pygimp/plug-ins/Makefile.am
+++ b/plug-ins/pygimp/plug-ins/Makefile.am
@@ -3,26 +3,30 @@
 pluginexecdir = $(gimpplugindir)/plug-ins
 
 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             \
+       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
 
 test_scripts = \
        benchmark-foreground-extract.py \
-       clothify.py             \
-       shadow_bevel.py         \
-       sphere.py               \
+       clothify.py                     \
+       shadow_bevel.py                 \
+       sphere.py                       \
        whirlpinch.py
 
 pluginexec_SCRIPTS = $(scripts)
 
+if GIMP_UNSTABLE
+pluginexec_SCRIPTS += $(test_scripts)
+endif
+
 # python-console has a data file.
 # Therefore let's move it to its own sub-directory.
 consoleexecdir = $(gimpplugindir)/plug-ins/python-console
diff --git a/plug-ins/script-fu/scripts/Makefile.am b/plug-ins/script-fu/scripts/Makefile.am
index 4cce60d..e45f0e2 100644
--- a/plug-ins/script-fu/scripts/Makefile.am
+++ b/plug-ins/script-fu/scripts/Makefile.am
@@ -66,5 +66,8 @@ test_scripts = \
 
 scriptdata_DATA = $(scripts)
 
+if GIMP_UNSTABLE
+scriptdata_DATA += $(test_scripts)
+endif
 
 EXTRA_DIST = $(scripts) $(test_scripts)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]