Makefile.am 4.25 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
## Process this file with automake to produce Makefile.in

iconsdir   = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor
icons12dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/12x12/apps
icons16dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/16x16/apps
icons18dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/18x18/apps
icons20dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/20x20/apps
icons22dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/22x22/apps
icons24dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/24x24/apps
icons32dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/32x32/apps
icons48dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/48x48/apps
icons64dir = $(gimpdatadir)/icons/Symbolic-Inverted/hicolor/64x64/apps

## The icon theme images

icons_DATA = \
	index.theme

include $(top_srcdir)/icons/Symbolic/icon-list.mk

21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
# We are basically repeating the same rule for every subdirectory, which
# is very dirty. But this is the only way we found to have a rule
# dependency correctly tied to the image with same name in Symbolic/.
# I would expect the following to match as a single rule:
#     %.png: $(top_srcdir)/icons/Symbolic/%.png
# But it doesn't. If someone knows how, feel free to fix it back into
# a single rule.
12/%.png: $(top_srcdir)/icons/Symbolic/12/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

16/%.png: $(top_srcdir)/icons/Symbolic/16/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

18/%.png: $(top_srcdir)/icons/Symbolic/18/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

20/%.png: $(top_srcdir)/icons/Symbolic/20/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

22/%.png: $(top_srcdir)/icons/Symbolic/22/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

24/%.png: $(top_srcdir)/icons/Symbolic/24/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

32/%.png: $(top_srcdir)/icons/Symbolic/32/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

48/%.png: $(top_srcdir)/icons/Symbolic/48/%.png
	mkdir -p `dirname $@`;
	$(GEGL) -x \
	"<gegl> \
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

64/%.png: $(top_srcdir)/icons/Symbolic/64/%.png
125
	mkdir -p `dirname $@`;
126 127
	$(GEGL) -x \
	"<gegl> \
128 129 130 131 132 133 134 135
	  <node operation='gegl:invert-linear'></node> \
	  <node operation='gegl:load'> \
	    <params> \
	      <param name='path'>$(top_srcdir)/icons/Symbolic/$@</param> \
	    </params> \
	  </node> \
	</gegl>" -o $@

136
all_icons = \
137 138 139 140 141 142 143 144 145
	$(icons12_DATA)		\
	$(icons16_DATA)		\
	$(icons18_DATA)		\
	$(icons20_DATA)		\
	$(icons22_DATA)		\
	$(icons24_DATA)		\
	$(icons32_DATA)		\
	$(icons48_DATA)		\
	$(icons64_DATA)
146 147 148 149 150 151 152

EXTRA_DIST = \
	$(icons_DATA)		\
	$(all_icons)

DISTCLEANFILES = \
	$(all_icons)