Fix distribution in share/
[vlc.git] / share / Makefile.am
1 CLEANFILES = skins2/default.vlt
2
3 nobase_dist_data_DATA = applications/vlc.desktop
4
5 dist_vlcdata_DATA = \
6         $(DIST_icons) \
7         $(DIST_icons16) \
8         $(DIST_icons32) \
9         $(DIST_icons48) \
10         $(DIST_icons128)
11 nobase_dist_vlcdata_SCRIPTS = \
12         utils/gnome-vlc-default.sh \
13         utils/audio-vlc-default.sh \
14         utils/video-vlc-default.sh \
15         $(NULL)
16
17 EXTRA_DIST = \
18         $(skins2_default_vlt_FILES) \
19         $(DIST_rsrc) \
20         $(DIST_pda) \
21         $(DIST_skins2) \
22         $(DIST_http) \
23         $(DIST_http_lua) \
24         $(DIST_lua) \
25         $(DIST_osdmenu_default) \
26         $(DIST_mozilla) \
27         $(DIST_maemo)
28
29 nobase_vlcdata_DATA =
30 if BUILD_SKINS
31 nobase_vlcdata_DATA += skins2/default.vlt
32 nobase_vlcdata_DATA += $(DIST_skins2)
33 endif
34 if BUILD_PDA
35 nobase_vlcdata_DATA += $(DIST_pda)
36 endif
37 if BUILD_HTTPD
38 nobase_vlcdata_DATA += $(DIST_http)
39 endif
40 if BUILD_OSDMENU
41 nobase_vlcdata_DATA += \
42         $(DIST_osdmenu_default)
43 endif
44 if BUILD_LUA
45 nobase_vlcdata_DATA += $(DIST_lua)
46 if BUILD_HTTPD
47 nobase_vlcdata_DATA += $(DIST_http_lua)
48 endif
49 endif
50 if BUILD_MOZILLA
51 # TODO: move to the mozilla directory
52 nobase_vlcdata_DATA += $(DIST_mozilla)
53 endif
54 if BUILD_MAEMO
55 nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
56 endif
57
58 DIST_rsrc = \
59         newres.h \
60         resource.h \
61         vlc_wince_rc.rc \
62         vlc_beos.rsrc \
63         vlc_win32_rc.rc.in \
64         libvlc_win32_rc.rc.in
65
66 DIST_pda = \
67         pda-forwardb16x16.xpm \
68         pda-openb16x16.xpm \
69         pda-pauseb16x16.xpm \
70         pda-playb16x16.xpm \
71         pda-playlistb16x16.xpm \
72         pda-preferencesb16x16.xpm \
73         pda-rewindb16x16.xpm \
74         pda-stopb16x16.xpm
75
76 DIST_icons = vlc.ico
77
78 DIST_icons16 = vlc16x16.png vlc16x16.xpm
79
80 DIST_icons32 = vlc32x32.png vlc32x32.xpm vlc32x32-christmas.xpm
81
82 DIST_icons48 = vlc48x48.png vlc48x48-christmas.png
83
84 DIST_icons128 = vlc128x128.png vlc128x128-christmas.png
85
86 DIST_skins2 = \
87         skins2/fonts/FreeSans.ttf \
88         skins2/fonts/FreeSansBold.ttf \
89         skins2/skin.dtd \
90         skins2/skin.catalog \
91         skins2/winamp2.xml
92
93 skins2_default_vlt_FILES = \
94         skins2/default/theme.xml \
95         skins2/default/subX/about.png \
96         skins2/default/subX/eq.png \
97         skins2/default/subX/font.otf \
98         skins2/default/subX/main.png \
99         skins2/default/subX/playtreeglyphs.png \
100         skins2/default/subX/pl.png \
101         skins2/default/subX/sysbuttons.png \
102         skins2/default/subX/vol_anim.png \
103         skins2/default/subX/vol_slider.png
104
105 skins2/default.vlt: $(skins2_default_vlt_FILES)
106         mkdir -p skins2
107         tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/
108
109 DIST_http = \
110         http/.hosts \
111         http/dialogs/.hosts \
112         http/dialogs/browse \
113         http/dialogs/footer \
114         http/dialogs/input \
115         http/dialogs/main \
116         http/dialogs/mosaic \
117         http/dialogs/playlist \
118         http/dialogs/sout \
119         http/dialogs/vlm \
120         http/favicon.ico \
121         http/images/delete.png \
122         http/images/delete_small.png \
123         http/images/eject.png \
124         http/images/empty.png \
125         http/images/fullscreen.png \
126         http/images/help.png \
127         http/images/info.png \
128         http/images/loop.png \
129         http/images/minus.png \
130         http/images/next.png \
131         http/images/pause.png \
132         http/images/play.png \
133         http/images/playlist.png \
134         http/images/playlist_small.png \
135         http/images/plus.png \
136         http/images/prev.png \
137         http/images/refresh.png \
138         http/images/repeat.png \
139         http/images/sd.png \
140         http/images/shuffle.png \
141         http/images/slider_bar.png \
142         http/images/slider_left.png \
143         http/images/slider_point.png \
144         http/images/slider_right.png \
145         http/images/snapshot.png \
146         http/images/slow.png \
147         http/images/sort.png \
148         http/images/sout.png \
149         http/images/speaker.png \
150         http/images/speaker_mute.png \
151         http/images/stop.png \
152         http/images/vlc16x16.png \
153         http/images/volume_down.png \
154         http/images/volume_up.png \
155         http/images/white.png \
156         http/images/white_cross_small.png \
157         http/index.html \
158         http/js/functions.js \
159         http/js/mosaic.js \
160         http/js/vlm.js \
161         http/mosaic.html \
162         http/requests/browse.xml \
163         http/requests/playlist.xml \
164         http/requests/status.xml \
165         http/requests/vlm.xml \
166         http/requests/vlm_cmd.xml \
167         http/requests/readme \
168         http/style.css \
169         http/iehacks.css \
170         http/vlm.html \
171         http/vlm_export.html \
172         http/flash.html
173
174 DIST_osdmenu_default = \
175         osdmenu/default.cfg \
176         osdmenu/default/unselected.png \
177         osdmenu/default/selection/bw.png \
178         osdmenu/default/selection/esc.png \
179         osdmenu/default/selection/fw.png \
180         osdmenu/default/selection/volume.png \
181         osdmenu/default/selection/next.png \
182         osdmenu/default/selection/play_pause.png \
183         osdmenu/default/selection/previous.png \
184         osdmenu/default/selection/stop.png \
185         osdmenu/default/selected/bw.png \
186         osdmenu/default/selected/next.png \
187         osdmenu/default/selected/play_pause.png \
188         osdmenu/default/selected/fw.png \
189         osdmenu/default/selected/stop.png \
190         osdmenu/default/selected/previous.png \
191         osdmenu/default/selected/esc.png \
192         osdmenu/default/selected/volume.png \
193         osdmenu/default/volume/volume_00.png \
194         osdmenu/default/volume/volume_01.png \
195         osdmenu/default/volume/volume_02.png \
196         osdmenu/default/volume/volume_03.png \
197         osdmenu/default/volume/volume_04.png \
198         osdmenu/default/volume/volume_05.png \
199         osdmenu/default/volume/volume_06.png \
200         osdmenu/default/volume/volume_07.png \
201         osdmenu/default/volume/volume_08.png \
202         osdmenu/default/volume/volume_09.png \
203         osdmenu/default/volume/volume_10.png
204
205 DIST_lua= \
206         lua/README.txt \
207         lua/meta/README.txt \
208         lua/meta/01_musicbrainz.lua \
209         lua/meta/10_googleimage.lua \
210         lua/playlist/README.txt \
211         lua/playlist/anevia_streams.lua \
212         lua/playlist/appletrailers.lua \
213         lua/playlist/break.lua \
214         lua/playlist/dailymotion.lua \
215         lua/playlist/france2.lua \
216         lua/playlist/joox.lua \
217         lua/playlist/lelombrik.lua \
218         lua/playlist/youtube.lua \
219         lua/playlist/youtube_homepage.lua \
220         lua/playlist/megavideo.lua \
221         lua/playlist/metacafe.lua \
222         lua/playlist/googlevideo.lua \
223         lua/intf/README.txt \
224         lua/intf/http.lua \
225         lua/intf/rc.lua \
226         lua/intf/hotkeys.lua \
227         lua/intf/modules/common.lua \
228         lua/intf/modules/host.lua \
229         lua/intf/modules/sandbox.lua \
230         lua/intf/telnet.lua \
231         lua/intf/dummy.lua
232
233 DIST_http_lua = \
234         lua/http/.hosts \
235         lua/http/custom.lua \
236         lua/http/dialogs/.hosts \
237         lua/http/dialogs/browse \
238         lua/http/dialogs/footer \
239         lua/http/dialogs/input \
240         lua/http/dialogs/main \
241         lua/http/dialogs/mosaic \
242         lua/http/dialogs/playlist \
243         lua/http/dialogs/sout \
244         lua/http/dialogs/vlm \
245         lua/http/favicon.ico \
246         lua/http/images/delete.png \
247         lua/http/images/delete_small.png \
248         lua/http/images/eject.png \
249         lua/http/images/empty.png \
250         lua/http/images/fullscreen.png \
251         lua/http/images/help.png \
252         lua/http/images/info.png \
253         lua/http/images/loop.png \
254         lua/http/images/minus.png \
255         lua/http/images/next.png \
256         lua/http/images/pause.png \
257         lua/http/images/play.png \
258         lua/http/images/playlist.png \
259         lua/http/images/playlist_small.png \
260         lua/http/images/plus.png \
261         lua/http/images/prev.png \
262         lua/http/images/refresh.png \
263         lua/http/images/repeat.png \
264         lua/http/images/reset.png \
265         lua/http/images/sd.png \
266         lua/http/images/shuffle.png \
267         lua/http/images/slider_bar.png \
268         lua/http/images/slider_left.png \
269         lua/http/images/slider_point.png \
270         lua/http/images/slider_right.png \
271         lua/http/images/snapshot.png \
272         lua/http/images/slow.png \
273         lua/http/images/sort.png \
274         lua/http/images/sout.png \
275         lua/http/images/speaker.png \
276         lua/http/images/speaker_mute.png \
277         lua/http/images/stop.png \
278         lua/http/images/vlc16x16.png \
279         lua/http/images/volume_down.png \
280         lua/http/images/volume_up.png \
281         lua/http/images/white.png \
282         lua/http/images/white_cross_small.png \
283         lua/http/index.html \
284         lua/http/js/functions.js \
285         lua/http/js/mosaic.js \
286         lua/http/js/vlm.js \
287         lua/http/mosaic.html \
288         lua/http/requests/browse.xml \
289         lua/http/requests/playlist.xml \
290         lua/http/requests/status.xml \
291         lua/http/requests/vlm.xml \
292         lua/http/requests/vlm_cmd.xml \
293         lua/http/requests/readme \
294         lua/http/style.css \
295         lua/http/iehacks.css \
296         lua/http/vlm.html \
297         lua/http/vlm_export.html \
298         lua/http/flash.html
299
300 DIST_mozilla = \
301         mozilla/fullscreen.xpm \
302         mozilla/pause.xpm \
303         mozilla/play.xpm \
304         mozilla/skip_next.xpm \
305         mozilla/skip_previous.xpm \
306         mozilla/stop.xpm \
307         mozilla/time_icon.xpm \
308         mozilla/time_line.xpm \
309         mozilla/volume_knob.xpm \
310         mozilla/volume_max.xpm \
311         mozilla/volume_mute.xpm \
312         mozilla/volume_slider_bar.xpm
313
314 DIST_maemo = \
315         maemo/vlc_intf.rc \
316         maemo/vlc_left_tab_active.png \
317         maemo/vlc_left_tab_passive.png \
318         maemo/playlist.png
319
320 maemo_FILES = \
321         ../modules/gui/qt4/pixmaps/play.png \
322         ../modules/gui/qt4/pixmaps/pause.png \
323         ../modules/gui/qt4/pixmaps/stop.png \
324         ../modules/gui/qt4/pixmaps/previous.png \
325         ../modules/gui/qt4/pixmaps/next.png \
326         vlc32x32.png