[gimp/ell/blending-mode-icons: 9/11] icons: improve dependencies of generated icons
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/ell/blending-mode-icons: 9/11] icons: improve dependencies of generated icons
- Date: Wed, 4 Jan 2017 16:01:24 +0000 (UTC)
commit 3f127cb5513acbf7bf69a4e973723a68281e1614
Author: Ell <ell_se yahoo com>
Date: Mon Jan 2 14:50:38 2017 -0500
icons: improve dependencies of generated icons
For icons whose generation logic is defined in the makefile, add the
makefile as a dependency; for icons whose generation depends on
external tools in the source tree, depend on the tools.
icons/Color/Makefile.am | 4 ++--
icons/Symbolic-Inverted/Makefile.am | 34 +++++++++++++++++-----------------
2 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/icons/Color/Makefile.am b/icons/Color/Makefile.am
index 17591d4..ff564ee 100644
--- a/icons/Color/Makefile.am
+++ b/icons/Color/Makefile.am
@@ -24,7 +24,7 @@ MAKE_SVG_MODE_ICON = \
sed '1,/<\/metadata>/d;/<\/svg>/Q' `dirname $< | sed
's/\bSymbolic\b/Color/'`/gimp-mode-backdrop.svg && \
sed -r '1,/<\/metadata>/d;s/\#[[:xdigit:]]{6}\b/\#ffffff/g' $<) > $@
-scalable/gimp-%-mode.svg: ../Symbolic/scalable/gimp-%-mode.svg scalable/gimp-mode-backdrop.svg
+scalable/gimp-%-mode.svg: ../Symbolic/scalable/gimp-%-mode.svg scalable/gimp-mode-backdrop.svg Makefile.am
$(AM_V_GEN) $(MAKE_SVG_MODE_ICON)
MAKE_MODE_ICON = \
@@ -34,7 +34,7 @@ MAKE_MODE_ICON = \
aux=[ load path=$< levels out-low=1 ] \
srgb=true
-16/gimp-%-mode.png: ../Symbolic/16/gimp-%-mode.png 16/gimp-mode-backdrop.png
+16/gimp-%-mode.png: ../Symbolic/16/gimp-%-mode.png 16/gimp-mode-backdrop.png Makefile.am
$(AM_V_GEN) $(MAKE_MODE_ICON)
## Compiled-in icons for both the core and libgimpwidgets
diff --git a/icons/Symbolic-Inverted/Makefile.am b/icons/Symbolic-Inverted/Makefile.am
index 18462d5..558c4d1 100644
--- a/icons/Symbolic-Inverted/Makefile.am
+++ b/icons/Symbolic-Inverted/Makefile.am
@@ -21,14 +21,14 @@ scalable/gimp-toilet-paper.svg: ../Symbolic/scalable/gimp-toilet-paper.svg
# Other exceptions: inverted gimp-color-picker-white|black are generated
# from each other.
-18/gimp-color-picker-black.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-white.png
+18/gimp-color-picker-black.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-white.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-scalable/gimp-color-picker-black.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-white.svg
+scalable/gimp-color-picker-black.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-white.svg
$(top_builddir)/tools/invert-svg$(BUILD_EXEEXT)
$(AM_V_GEN) mkdir -p scalable && $(top_builddir)/tools/invert-svg $< $@
-18/gimp-color-picker-white.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-black.png
+18/gimp-color-picker-white.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-black.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-scalable/gimp-color-picker-white.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-black.svg
+scalable/gimp-color-picker-white.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-black.svg
$(top_builddir)/tools/invert-svg$(BUILD_EXEEXT)
$(AM_V_GEN) mkdir -p scalable && $(top_builddir)/tools/invert-svg $< $@
# Rule for all other scalable icons.
@@ -50,43 +50,43 @@ scalable/%.svg: ../Symbolic/scalable/%.svg $(top_builddir)/tools/invert-svg$(BUI
MAKE_ICON = mkdir -p `dirname $@`; GEGL_USE_OPENCL=no GEGL_SWAP=ram $(GEGL) $< -o $@ -- gegl:invert-gamma
-12/%.png: $(top_srcdir)/icons/Symbolic/12/%.png
+12/%.png: $(top_srcdir)/icons/Symbolic/12/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-16/%.png: $(top_srcdir)/icons/Symbolic/16/%.png
+16/%.png: $(top_srcdir)/icons/Symbolic/16/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-18/%.png: $(top_srcdir)/icons/Symbolic/18/%.png
+18/%.png: $(top_srcdir)/icons/Symbolic/18/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-20/%.png: $(top_srcdir)/icons/Symbolic/20/%.png
+20/%.png: $(top_srcdir)/icons/Symbolic/20/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-22/%.png: $(top_srcdir)/icons/Symbolic/22/%.png
+22/%.png: $(top_srcdir)/icons/Symbolic/22/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-24/%.png: $(top_srcdir)/icons/Symbolic/24/%.png
+24/%.png: $(top_srcdir)/icons/Symbolic/24/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-32/%.png: $(top_srcdir)/icons/Symbolic/32/%.png
+32/%.png: $(top_srcdir)/icons/Symbolic/32/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-48/%.png: $(top_srcdir)/icons/Symbolic/48/%.png
+48/%.png: $(top_srcdir)/icons/Symbolic/48/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-64/%.png: $(top_srcdir)/icons/Symbolic/64/%.png
+64/%.png: $(top_srcdir)/icons/Symbolic/64/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-96/%.png: $(top_srcdir)/icons/Symbolic/96/%.png
+96/%.png: $(top_srcdir)/icons/Symbolic/96/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-128/%.png: $(top_srcdir)/icons/Symbolic/128/%.png
+128/%.png: $(top_srcdir)/icons/Symbolic/128/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-192/%.png: $(top_srcdir)/icons/Symbolic/192/%.png
+192/%.png: $(top_srcdir)/icons/Symbolic/192/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
-256/%.png: $(top_srcdir)/icons/Symbolic/256/%.png
+256/%.png: $(top_srcdir)/icons/Symbolic/256/%.png Makefile.am
$(AM_V_GEN) $(MAKE_ICON)
all_icons = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]