]> git.sesse.net Git - vlc/blob - share/Makefile.am
Install the icons according to freedesktop "standard"
[vlc] / share / Makefile.am
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
3
4 iconsdatadir = $(datadir)/icons/hicolor/
5 icons16dir = $(iconsdatadir)/16x16/apps/
6 icons32dir = $(iconsdatadir)/32x32/apps/
7 icons48dir = $(iconsdatadir)/48x48/apps/
8 icons128dir = $(iconsdatadir)/128x128/apps/
9 icons256dir = $(iconsdatadir)/256x256/apps/
10
11 nobase_dist_data_DATA = applications/vlc.desktop
12
13 dist_vlcdata_DATA = $(DIST_icons)
14 dist_icons16_DATA = $(DIST_icons16)
15 dist_icons32_DATA = $(DIST_icons32)
16 dist_icons48_DATA = $(DIST_icons48)
17 dist_icons128_DATA = $(DIST_icons128)
18 dist_icons256_DATA = $(DIST_icons256)
19
20 nobase_dist_vlcdata_SCRIPTS = \
21         utils/gnome-vlc-default.sh \
22         utils/audio-vlc-default.sh \
23         utils/video-vlc-default.sh \
24         $(NULL)
25
26 EXTRA_DIST = \
27         $(skins2_default_vlt_FILES) \
28         $(DIST_rsrc) \
29         $(DIST_skins2) \
30         $(DIST_http) \
31         $(DIST_http_lua) \
32         $(DIST_lua) \
33         $(DIST_osdmenu_default) \
34         $(DIST_mozilla) \
35         $(DIST_maemo)
36
37 nobase_vlcdata_DATA =
38 if BUILD_SKINS
39 nobase_vlcdata_DATA += skins2/default.vlt
40 nobase_vlcdata_DATA += $(DIST_skins2)
41 endif
42 if BUILD_HTTPD
43 nobase_vlcdata_DATA += $(DIST_http)
44 endif
45 if BUILD_OSDMENU
46 nobase_vlcdata_DATA += \
47         $(DIST_osdmenu_default)
48 endif
49 if BUILD_MOZILLA
50 # TODO: move to the mozilla directory
51 nobase_vlcdata_DATA += $(DIST_mozilla)
52 endif
53 if BUILD_HILDON
54 nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
55 endif
56
57 DIST_rsrc = \
58         newres.h \
59         resource.h \
60         vlc_wince_rc.rc \
61         vlc_beos.rsrc
62
63 DIST_icons = vlc.ico
64
65 DIST_icons16 = vlc16x16.png vlc16x16.xpm
66
67 DIST_icons32 = vlc32x32.png vlc32x32.xpm vlc32x32-christmas.xpm
68
69 DIST_icons48 = vlc48x48.png vlc48x48-christmas.png
70
71 DIST_icons128 = vlc128x128.png vlc128x128-christmas.png
72
73 DIST_icons256 = vlc256x256.png
74
75 DIST_skins2 = \
76         skins2/fonts/FreeSans.ttf \
77         skins2/fonts/FreeSansBold.ttf \
78         skins2/skin.dtd \
79         skins2/skin.catalog \
80         skins2/winamp2.xml
81
82 skins2_default_vlt_FILES = \
83         skins2/default/theme.xml \
84         skins2/default/subX/about.png \
85         skins2/default/subX/eq.png \
86         skins2/default/subX/font.otf \
87         skins2/default/subX/main.png \
88         skins2/default/subX/playtreeglyphs.png \
89         skins2/default/subX/pl.png \
90         skins2/default/subX/sysbuttons.png \
91         skins2/default/subX/vol_anim.png \
92         skins2/default/subX/vol_slider.png
93
94 skins2/default.vlt: $(skins2_default_vlt_FILES)
95         mkdir -p skins2
96         tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/
97
98 DIST_http = \
99         http/.hosts \
100         http/dialogs/.hosts \
101         http/dialogs/browse \
102         http/dialogs/footer \
103         http/dialogs/input \
104         http/dialogs/main \
105         http/dialogs/mosaic \
106         http/dialogs/playlist \
107         http/dialogs/sout \
108         http/dialogs/vlm \
109         http/favicon.ico \
110         http/images/delete.png \
111         http/images/delete_small.png \
112         http/images/eject.png \
113         http/images/empty.png \
114         http/images/fullscreen.png \
115         http/images/help.png \
116         http/images/info.png \
117         http/images/loop.png \
118         http/images/minus.png \
119         http/images/next.png \
120         http/images/pause.png \
121         http/images/play.png \
122         http/images/playlist.png \
123         http/images/playlist_small.png \
124         http/images/plus.png \
125         http/images/prev.png \
126         http/images/refresh.png \
127         http/images/repeat.png \
128         http/images/sd.png \
129         http/images/shuffle.png \
130         http/images/slider_bar.png \
131         http/images/slider_left.png \
132         http/images/slider_point.png \
133         http/images/slider_right.png \
134         http/images/snapshot.png \
135         http/images/slow.png \
136         http/images/sort.png \
137         http/images/sout.png \
138         http/images/speaker.png \
139         http/images/speaker_mute.png \
140         http/images/stop.png \
141         http/images/vlc16x16.png \
142         http/images/volume_down.png \
143         http/images/volume_up.png \
144         http/images/white.png \
145         http/images/white_cross_small.png \
146         http/index.html \
147         http/js/functions.js \
148         http/js/mosaic.js \
149         http/js/vlm.js \
150         http/mosaic.html \
151         http/requests/browse.xml \
152         http/requests/playlist.xml \
153         http/requests/status.xml \
154         http/requests/vlm.xml \
155         http/requests/vlm_cmd.xml \
156         http/requests/readme \
157         http/style.css \
158         http/iehacks.css \
159         http/vlm.html \
160         http/vlm_export.html \
161         http/flash.html
162
163 DIST_osdmenu_default = \
164         osdmenu/default.cfg \
165         osdmenu/default/unselected.png \
166         osdmenu/default/selection/bw.png \
167         osdmenu/default/selection/esc.png \
168         osdmenu/default/selection/fw.png \
169         osdmenu/default/selection/volume.png \
170         osdmenu/default/selection/next.png \
171         osdmenu/default/selection/play_pause.png \
172         osdmenu/default/selection/previous.png \
173         osdmenu/default/selection/stop.png \
174         osdmenu/default/selected/bw.png \
175         osdmenu/default/selected/next.png \
176         osdmenu/default/selected/play_pause.png \
177         osdmenu/default/selected/fw.png \
178         osdmenu/default/selected/stop.png \
179         osdmenu/default/selected/previous.png \
180         osdmenu/default/selected/esc.png \
181         osdmenu/default/selected/volume.png \
182         osdmenu/default/volume/volume_00.png \
183         osdmenu/default/volume/volume_01.png \
184         osdmenu/default/volume/volume_02.png \
185         osdmenu/default/volume/volume_03.png \
186         osdmenu/default/volume/volume_04.png \
187         osdmenu/default/volume/volume_05.png \
188         osdmenu/default/volume/volume_06.png \
189         osdmenu/default/volume/volume_07.png \
190         osdmenu/default/volume/volume_08.png \
191         osdmenu/default/volume/volume_09.png \
192         osdmenu/default/volume/volume_10.png
193
194 #
195 # LUA
196 #
197 luac_verbose = $(luac_verbose_$(V))
198 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
199 luac_verbose_0 = @echo "  LUAC   $@";
200
201 .lua.luac:
202         $(AM_V_at)mkdir -p "$$(dirname '$@')"
203         $(luac_verbose)$(LUAC) -o $@ $<
204
205 if BUILD_LUA
206 nobase_vlclib_DATA = \
207         lua/intf/rc.luac \
208         lua/intf/hotkeys.luac \
209         lua/intf/modules/common.luac \
210         lua/intf/modules/host.luac \
211         lua/intf/telnet.luac \
212         lua/intf/dummy.luac \
213         lua/intf/dumpmeta.luac \
214         lua/meta/art/01_musicbrainz.luac \
215         lua/meta/art/02_frenchtv.luac \
216         lua/meta/art/10_googleimage.luac \
217         lua/meta/fetcher/tvrage.luac \
218         lua/meta/reader/filename.luac \
219         lua/modules/sandbox.luac \
220         lua/playlist/anevia_streams.luac \
221         lua/playlist/appletrailers.luac \
222         lua/playlist/break.luac \
223         lua/playlist/dailymotion.luac \
224         lua/playlist/france2.luac \
225         lua/playlist/googlevideo.luac \
226         lua/playlist/joox.luac \
227         lua/playlist/katsomo.luac \
228         lua/playlist/lelombrik.luac \
229         lua/playlist/megavideo.luac \
230         lua/playlist/metacafe.luac \
231         lua/playlist/mpora.luac \
232         lua/playlist/vimeo.luac \
233         lua/playlist/youtube.luac \
234         lua/playlist/youtube_homepage.luac \
235         lua/sd/fmc.luac \
236         lua/sd/freebox.luac \
237         lua/sd/frenchtv.luac \
238         lua/sd/icecast.luac \
239         $(NULL)
240 if BUILD_HTTPD
241 nobase_vlclib_DATA += \
242         lua/intf/http.luac \
243         $(NULL)
244 nobase_vlcdata_DATA += $(DIST_http_lua)
245 endif
246 endif
247 MOSTLYCLEANFILES += $(vlclua_DATA)
248
249 EXTRA_DIST += \
250         lua/README.txt \
251         lua/meta/art/README.txt \
252         lua/meta/art/01_musicbrainz.lua \
253         lua/meta/art/02_frenchtv.lua \
254         lua/meta/art/10_googleimage.lua \
255         lua/meta/fetcher/README.txt \
256         lua/meta/fetcher/tvrage.lua \
257         lua/meta/reader/README.txt \
258         lua/meta/reader/filename.lua \
259         lua/playlist/README.txt \
260         lua/playlist/anevia_streams.lua \
261         lua/playlist/appletrailers.lua \
262         lua/playlist/break.lua \
263         lua/playlist/dailymotion.lua \
264         lua/playlist/france2.lua \
265         lua/playlist/joox.lua \
266         lua/playlist/katsomo.lua \
267         lua/playlist/lelombrik.lua \
268         lua/playlist/youtube.lua \
269         lua/playlist/youtube_homepage.lua \
270         lua/playlist/megavideo.lua \
271         lua/playlist/metacafe.lua \
272         lua/playlist/googlevideo.lua \
273         lua/playlist/mpora.lua \
274         lua/playlist/vimeo.lua \
275         lua/intf/README.txt \
276         lua/intf/http.lua \
277         lua/intf/rc.lua \
278         lua/intf/hotkeys.lua \
279         lua/intf/modules/common.lua \
280         lua/intf/modules/host.lua \
281         lua/intf/telnet.lua \
282         lua/intf/dummy.lua \
283         lua/intf/dumpmeta.lua \
284         lua/modules/sandbox.lua \
285         lua/modules/simplexml.lua \
286         lua/sd/README.txt \
287         lua/sd/fmc.lua \
288         lua/sd/freebox.lua \
289         lua/sd/frenchtv.lua \
290         lua/sd/icecast.lua
291
292 DIST_http_lua = \
293         lua/http/.hosts \
294         lua/http/custom.lua \
295         lua/http/dialogs/.hosts \
296         lua/http/dialogs/browse \
297         lua/http/dialogs/footer \
298         lua/http/dialogs/input \
299         lua/http/dialogs/main \
300         lua/http/dialogs/mosaic \
301         lua/http/dialogs/playlist \
302         lua/http/dialogs/sout \
303         lua/http/dialogs/vlm \
304         lua/http/favicon.ico \
305         lua/http/images/delete.png \
306         lua/http/images/delete_small.png \
307         lua/http/images/eject.png \
308         lua/http/images/empty.png \
309         lua/http/images/fullscreen.png \
310         lua/http/images/help.png \
311         lua/http/images/info.png \
312         lua/http/images/loop.png \
313         lua/http/images/minus.png \
314         lua/http/images/next.png \
315         lua/http/images/pause.png \
316         lua/http/images/play.png \
317         lua/http/images/playlist.png \
318         lua/http/images/playlist_small.png \
319         lua/http/images/plus.png \
320         lua/http/images/prev.png \
321         lua/http/images/refresh.png \
322         lua/http/images/repeat.png \
323         lua/http/images/reset.png \
324         lua/http/images/sd.png \
325         lua/http/images/shuffle.png \
326         lua/http/images/slider_bar.png \
327         lua/http/images/slider_left.png \
328         lua/http/images/slider_point.png \
329         lua/http/images/slider_right.png \
330         lua/http/images/snapshot.png \
331         lua/http/images/slow.png \
332         lua/http/images/sort.png \
333         lua/http/images/sout.png \
334         lua/http/images/speaker.png \
335         lua/http/images/speaker_mute.png \
336         lua/http/images/stop.png \
337         lua/http/images/vlc16x16.png \
338         lua/http/images/volume_down.png \
339         lua/http/images/volume_up.png \
340         lua/http/images/white.png \
341         lua/http/images/white_cross_small.png \
342         lua/http/index.html \
343         lua/http/js/functions.js \
344         lua/http/js/mosaic.js \
345         lua/http/js/vlm.js \
346         lua/http/mosaic.html \
347         lua/http/requests/browse.xml \
348         lua/http/requests/playlist.xml \
349         lua/http/requests/status.xml \
350         lua/http/requests/vlm.xml \
351         lua/http/requests/vlm_cmd.xml \
352         lua/http/requests/readme \
353         lua/http/style.css \
354         lua/http/iehacks.css \
355         lua/http/vlm.html \
356         lua/http/vlm_export.html \
357         lua/http/flash.html
358
359 DIST_mozilla = \
360         mozilla/fullscreen.xpm \
361         mozilla/pause.xpm \
362         mozilla/play.xpm \
363         mozilla/skip_next.xpm \
364         mozilla/skip_previous.xpm \
365         mozilla/stop.xpm \
366         mozilla/time_icon.xpm \
367         mozilla/time_line.xpm \
368         mozilla/volume_knob.xpm \
369         mozilla/volume_max.xpm \
370         mozilla/volume_mute.xpm \
371         mozilla/volume_slider_bar.xpm
372
373 DIST_maemo = \
374         maemo/vlc_intf.rc \
375         maemo/vlc_left_tab_active.png \
376         maemo/vlc_left_tab_passive.png \
377         maemo/playlist.png \
378         maemo/play.png \
379         maemo/pause.png \
380         maemo/stop.png \
381         maemo/previous.png \
382         maemo/next.png
383
384 maemo_FILES = \
385         vlc32x32.png