Do not use localised decimal separators for float number strings.
[synfig.git] / synfig-studio / trunk / images / Makefile.am
1 SYNFIG = synfig
2
3 EXT = @imageext@
4
5
6 EXTRA_DIST = \
7         installer_logo.sif \
8         installer_logo_osx.sif \
9         splash_screen.sifz \
10         splash_screen-0.61.08.sif \
11         splash_screen-0.61.07.sif \
12         about_icon.sif \
13         angle_icon.sif \
14         bline_icon.sif \
15         blinepoint_icon.sif \
16         bool_icon.sif \
17         canvas_icon.sif \
18         canvas_pointer_icon.sif \
19         children_icon.sif \
20         circle_icon.sif \
21         clear_redo_icon.sif \
22         clear_undo_icon.sif \
23         color_icon.sif \
24         curves_icon.sif \
25         draw_icon.sif \
26         duplicate_icon.sif \
27         encapsulate_icon.sif \
28         eyedrop_icon.sif \
29         fill_icon.sif \
30         gradient_icon.sif \
31         group_icon.sif \
32         info_icon.sif \
33         integer_icon.sif \
34         keyframe_icon.sif \
35         keyframe_lock_icon.sif \
36         layer_icon.sif \
37         list_icon.sif \
38         logo.sif \
39         meta_data_icon.sif \
40         mirror_icon.sif \
41         navigator_icon.sif \
42         normal_icon.sif \
43         pastecanvas_icon.sif \
44         polygon_icon.sif \
45         real_icon.sif \
46         rectangle_icon.sif \
47         rotate_icon.sif \
48         saveall_icon.sif \
49         scale_icon.sif \
50         segment_icon.sif \
51         select_all_child_layers_icon.sif \
52         sif_icon.sif \
53         sketch_icon.sif \
54         smooth_move_icon.sif \
55         string_icon.sif \
56         reset_colors_icon.sif \
57         swap_colors_icon.sif \
58         synfig_icon.sif \
59         synfig_icon.svg \
60         time_icon.sif \
61         time_track_icon.sif \
62         valuenode_icon.sif \
63         vector_icon.sif \
64         wallpaper.sif \
65         width_icon.sif \
66         zoom_icon.sif \
67         rename_icon.sif \
68         plant_icon.sif \
69         text_icon.sif \
70         polyline_icon.sif \
71         star_icon.sif \
72         set_fill_color.sif \
73         set_outline_color.sif \
74         seek_begin.sif \
75         seek_end.sif \
76         seek_next_frame.sif \
77         seek_prev_frame.sif
78
79
80
81 IMAGES = \
82         installer_logo.$(EXT) \
83         installer_logo_osx.$(EXT) \
84         mirror_icon.$(EXT) \
85         time_icon.$(EXT) \
86         time_track_icon.$(EXT) \
87         curves_icon.$(EXT) \
88         pastecanvas_icon.$(EXT) \
89         group_icon.$(EXT) \
90         clear_redo_icon.$(EXT) \
91         clear_undo_icon.$(EXT) \
92         navigator_icon.$(EXT) \
93         info_icon.$(EXT) \
94         zoom_icon.$(EXT) \
95         meta_data_icon.$(EXT) \
96         children_icon.$(EXT) \
97         keyframe_icon.$(EXT) \
98         reset_colors_icon.$(EXT) \
99         swap_colors_icon.$(EXT) \
100         rotate_icon.$(EXT) \
101         scale_icon.$(EXT) \
102         smooth_move_icon.$(EXT) \
103         width_icon.$(EXT) \
104         rectangle_icon.$(EXT) \
105         circle_icon.$(EXT) \
106         draw_icon.$(EXT) \
107         sketch_icon.$(EXT) \
108         fill_icon.$(EXT) \
109         normal_icon.$(EXT) \
110         select_all_child_layers_icon.$(EXT) \
111         sif_icon.$(EXT) \
112         synfig_icon.$(EXT) \
113         saveall_icon.$(EXT) \
114         bool_icon.$(EXT) \
115         integer_icon.$(EXT) \
116         angle_icon.$(EXT) \
117         segment_icon.$(EXT) \
118         blinepoint_icon.$(EXT) \
119         list_icon.$(EXT) \
120         canvas_pointer_icon.$(EXT) \
121         string_icon.$(EXT) \
122         eyedrop_icon.$(EXT) \
123         about_icon.$(EXT) \
124         splash_screen.$(EXT) \
125         canvas_icon.$(EXT) \
126         vector_icon.$(EXT) \
127         real_icon.$(EXT) \
128         color_icon.$(EXT) \
129         valuenode_icon.$(EXT) \
130         polygon_icon.$(EXT) \
131         bline_icon.$(EXT) \
132         layer_icon.$(EXT) \
133         duplicate_icon.$(EXT) \
134         encapsulate_icon.$(EXT) \
135         gradient_icon.$(EXT) \
136         keyframe_lock_all.$(EXT) \
137         keyframe_lock_past.$(EXT) \
138         keyframe_lock_future.$(EXT) \
139         keyframe_lock_none.$(EXT) \
140         rename_icon.$(EXT) \
141         plant_icon.$(EXT) \
142         text_icon.$(EXT) \
143         polyline_icon.$(EXT) \
144         star_icon.$(EXT) \
145         set_fill_color.$(EXT) \
146         set_outline_color.$(EXT) \
147         seek_begin.$(EXT) \
148         seek_end.$(EXT) \
149         seek_next_frame.$(EXT) \
150         seek_prev_frame.$(EXT)
151
152
153 MAINTAINERCLEANFILES = \
154         Makefile.in
155
156
157 CLEANFILES = \
158         $(IMAGES) \
159         images.nsh \
160         unimages.nsh \
161         installer_logo.bmp \
162         sif_icon.ico \
163         synfig_icon.ico \
164         icons.nsh \
165         unicons.nsh
166
167 CLEANDIRS = \
168         16x16 \
169         22x22 \
170         24x24 \
171         32x32 \
172         48x48 \
173         64x64 \
174         128x128
175
176 image_DATA = $(IMAGES)
177
178
179 all: $(IMAGES)
180
181 SUFFIXES = .sif .tif .png
182
183 #.SUFFIXES: $(SUFFIXES)
184
185 PNGTOICO = png2ico
186
187 .sif.ico:
188         $(SYNFIG) $< -w 16 -h 16 -o $*-16x16.png $< -w 32 -h 32 -o $*-32x32.png $< -w 48 -h 48 -o $*-48x48.png $< -w 64 -h 64 -o $*-64x64.png
189         cp -f `which $(PNGTOICO)`.* ./
190         $(PNGTOICO) $@ $*-16x16.png $*-32x32.png $*-48x48.png $*-64x64.png
191         rm -f ./$(PNGTOICO).* $*-16x16.png $*-32x32.png $*-48x48.png $*-64x64.png
192         echo "  File \"images\\$@\"" >>./icons.nsh
193         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unicons.nsh
194
195 clean-local:
196         $(RM) -r $(CLEANDIRS)
197
198 .sif.bmp:
199         $(SYNFIG) -q $< -o $@ --time 0
200
201 .sif.$(EXT):
202         $(SYNFIG) -q $< -o $@ --time 0
203         echo "  File \"images\\$@\"" >>./images.nsh
204         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
205
206 .sifz.$(EXT):
207         $(SYNFIG) -q $< -o $@ --time 0
208         echo "  File \"images\\$@\"" >>./images.nsh
209         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
210
211 keyframe_lock_all.$(EXT): $(srcdir)/keyframe_lock_icon.sif
212         $(SYNFIG) -q $< -o $@ --time 0
213         echo "  File \"images\\$@\"" >>./images.nsh
214         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
215
216 keyframe_lock_past.$(EXT): $(srcdir)/keyframe_lock_icon.sif
217         $(SYNFIG) -q $< -o $@ --time 0 -c PastOnly
218         echo "  File \"images\\$@\"" >>./images.nsh
219         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
220
221 keyframe_lock_future.$(EXT): $(srcdir)/keyframe_lock_icon.sif
222         $(SYNFIG) -q $< -o $@ --time 0 -c FutureOnly
223         echo "  File \"images\\$@\"" >>./images.nsh
224         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
225
226 keyframe_lock_none.$(EXT): $(srcdir)/keyframe_lock_icon.sif
227         $(SYNFIG) -q $< -o $@ --time 0 -c Disabled
228         echo "  File \"images\\$@\"" >>./images.nsh
229         echo "  Delete \"\$$INSTDIR\\share\\pixmaps\\$@\"" >>./unimages.nsh
230
231
232 if !WIN32_PKG
233 if !MACOSX_PKG
234
235 16x16/synfig_icon.$(EXT): synfig_icon.sif
236         -mkdir 16x16
237         $(SYNFIG) -q $< -o $@ --time 0 -w 16 -h 16
238
239 icons16dir = $(datadir)/icons/hicolor/16x16/apps
240 icons16_DATA = 16x16/synfig_icon.$(EXT)
241
242 22x22/synfig_icon.$(EXT): synfig_icon.sif
243         -mkdir 22x22
244         $(SYNFIG) -q $< -o $@ --time 0 -w 22 -h 22
245
246 icons22dir = $(datadir)/icons/hicolor/22x22/apps
247 icons22_DATA = 22x22/synfig_icon.$(EXT)
248
249 24x24/synfig_icon.$(EXT): synfig_icon.sif
250         -mkdir 24x24
251         $(SYNFIG) -q $< -o $@ --time 0 -w 24 -h 24
252
253 icons24dir = $(datadir)/icons/hicolor/24x24/apps
254 icons24_DATA = 24x24/synfig_icon.$(EXT)
255
256 32x32/synfig_icon.$(EXT): synfig_icon.sif
257         -mkdir 32x32
258         $(SYNFIG) -q $< -o $@ --time 0 -w 32 -h 32
259
260 icons32dir = $(datadir)/icons/hicolor/32x32/apps
261 icons32_DATA = 32x32/synfig_icon.$(EXT)
262
263 48x48/synfig_icon.$(EXT): synfig_icon.sif
264         -mkdir 48x48
265         $(SYNFIG) -q $< -o $@ --time 0 -w 48 -h 48
266
267 icons48dir = $(datadir)/icons/hicolor/48x48/apps
268 icons48_DATA = 48x48/synfig_icon.$(EXT)
269
270 64x64/synfig_icon.$(EXT): synfig_icon.sif
271         -mkdir 64x64
272         $(SYNFIG) -q $< -o $@ --time 0 -w 64 -h 64
273
274 icons64dir = $(datadir)/icons/hicolor/64x64/apps
275 icons64_DATA = 64x64/synfig_icon.$(EXT)
276
277 128x128/synfig_icon.$(EXT): synfig_icon.sif
278         -mkdir 128x128
279         $(SYNFIG) -q $< -o $@ --time 0 -w 128 -h 128
280
281 icons128dir = $(datadir)/icons/hicolor/128x128/apps
282 icons128_DATA = 128x128/synfig_icon.$(EXT)
283
284 iconsscalabledir = $(datadir)/icons/hicolor/scalable/apps
285 iconsscalable_DATA = synfig_icon.svg
286
287 endif
288 endif