[gimp] Bug 781098 - only build invert-svg with --enable-vector-icons.



commit 5b135406fd2bd097868f117b4e6889e0f18997e8
Author: Jehan <jehan girinstud io>
Date:   Mon Apr 10 01:41:27 2017 +0200

    Bug 781098 - only build invert-svg with --enable-vector-icons.
    
    This is a regression introduced in commit 84439a8 (partially reverted
    in commit 9a2da53 but some pieces were missing!).

 tools/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 897d603..d5d017a 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -43,6 +43,7 @@ test_clipboard_SOURCES = test-clipboard.c
 test_clipboard_LDADD = $(GTK_LIBS)
 
 
+if ENABLE_VECTOR_ICONS
 invert-svg$(BUILD_EXEEXT): invert-svg.c
        $(CC_FOR_BUILD) -o $@ $< $(NATIVE_GLIB_LIBS) $(NATIVE_GLIB_CFLAGS)
 
@@ -57,6 +58,11 @@ invert-svg$(BUILD_EXEEXT): invert-svg.c
 
 #compute_svg_viewbox_LDADD = $(SVG_LIBS)
 
+# Build tools which must be built for the host platform.
+all: invert-svg$(BUILD_EXEEXT)
+
+DISTCLEANFILES = invert-svg$(BUILD_EXEEXT)
+endif
 
 AM_CPPFLAGS = \
        -DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\"               \
@@ -89,7 +95,3 @@ EXTRA_DIST = \
        gimppath2svg.py \
        invert-svg.c
 
-# Build tools which must be built for the host platform.
-all: invert-svg$(BUILD_EXEEXT)
-
-DISTCLEANFILES = invert-svg$(BUILD_EXEEXT)


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