chroma/chain: also merge sar num/den
[vlc.git] / share / Makefile.am
blob7e93d0e39bf7acb1b1c9c6f7fbca509c8ae86476
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
3 EXTRA_DIST =
5 desktopdir = $(datadir)/applications
6 if !HAVE_WIN32
7 if !HAVE_DARWIN
8 desktop_DATA = vlc.desktop
9 appdatadir = $(datarootdir)/metainfo
10 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
11 appdata_in_files = vlc.appdata.xml.in
12 endif
13 endif
15 EXTRA_DIST += vlc.desktop.in vlc.desktop.mimetypes
16 CLEANFILES += $(desktop_DATA) $(appdata_DATA)
18 vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
19         $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; \
20         sed \
21                 -e 's,\@bindir\@,$(bindir),g' \
22                  -e "s,\@MIMETYPES\@,$$mimetypes,g" < "$<" > tmp-$@
23         $(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
24         $(AM_V_at)mv -f tmp-$@ $@
26 vlc.appdata.xml: vlc.appdata.xml.in
27         $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ || cp $< $@
29 iconsdatadir = $(datadir)/icons/hicolor
30 icons16dir = $(iconsdatadir)/16x16/apps
31 icons32dir = $(iconsdatadir)/32x32/apps
32 icons48dir = $(iconsdatadir)/48x48/apps
33 icons128dir = $(iconsdatadir)/128x128/apps
34 icons256dir = $(iconsdatadir)/256x256/apps
36 if !HAVE_WIN32
37 dist_vlcdata_DATA = icons/vlc.ico
38 dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
39 dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
40                         icons/32x32/vlc-xmas.xpm
41 dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-xmas.png
42 dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png
43 dist_icons256_DATA = icons/256x256/vlc.png
45 nobase_dist_vlcdata_SCRIPTS = \
46         utils/gnome-vlc-default.sh \
47         utils/audio-vlc-default.sh \
48         utils/video-vlc-default.sh \
49         $(NULL)
50 endif
52 EXTRA_DIST += \
53         $(skins2_default_vlt_FILES) \
54         $(DIST_icons) \
55         $(DIST_http_lua) \
56         $(DIST_solid)
58 nobase_vlcdata_DATA =
59 nobase_vlclib_DATA =
60 nobase_dist_vlcdata_DATA =
61 if BUILD_SKINS
62 nobase_vlcdata_DATA += skins2/default.vlt
63 nobase_dist_vlcdata_DATA += $(DIST_skins2)
64 endif
65 if KDE_SOLID
66 soliddata_DATA = $(DIST_solid)
67 endif
69 DIST_icons = \
70         vlc512x512.png
72 DIST_skins2 = \
73         skins2/fonts/FreeSans.ttf \
74         skins2/fonts/FreeSansBold.ttf \
75         skins2/skin.dtd \
76         skins2/skin.catalog \
77         skins2/winamp2.xml
79 skins2_default_vlt_FILES = \
80         skins2/default/theme.xml \
81         skins2/default/subX/about.png \
82         skins2/default/subX/eq.png \
83         skins2/default/subX/font.otf \
84         skins2/default/subX/main.png \
85         skins2/default/subX/playtreeglyphs.png \
86         skins2/default/subX/pl.png \
87         skins2/default/subX/sysbuttons.png \
88         skins2/default/subX/vol_anim.png \
89         skins2/default/subX/vol_slider.png
91 skins2/default.vlt: $(skins2_default_vlt_FILES)
92         $(AM_V_at)mkdir -p skins2
93         $(AM_V_at)rm -f -- skins2/default.vlt.tmp
94         $(AM_V_GEN)GZIP=--no-name \
95         tar cvvzf skins2/default.vlt.tmp \
96                 --owner=root --group=root --directory="$(srcdir)/skins2" \
97                 default/
98         $(AM_V_at)mv -f -- skins2/default.vlt.tmp skins2/default.vlt
101 # LUA
103 luac_verbose = $(luac_verbose_$(V))
104 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
105 luac_verbose_0 = @echo "  LUAC   $@";
107 .lua.luac:
108         $(AM_V_at)for f in $(EXTRA_DIST); do \
109                 test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
110                 if test $$f = $<; then \
111                         exit 0; \
112                 fi; \
113         done; \
114         echo "Attempt to byte-compile unknown file: $(<)!"; \
115         exit 1
116         $(AM_V_at)mkdir -p "$$(dirname '$@')"
117         $(luac_verbose)$(LUAC) -o $@ $<
119 if BUILD_LUA
120 nobase_vlclib_DATA += \
121         lua/extensions/VLSub.luac \
122         lua/intf/cli.luac \
123         lua/intf/dummy.luac \
124         lua/intf/dumpmeta.luac \
125         lua/intf/luac.luac \
126         lua/intf/http.luac \
127         lua/intf/modules/host.luac \
128         lua/intf/modules/httprequests.luac \
129         lua/intf/telnet.luac \
130         lua/meta/art/02_frenchtv.luac \
131         lua/meta/art/03_lastfm.luac \
132         lua/meta/art/01_googleimage.luac \
133         lua/meta/art/00_musicbrainz.luac \
134         lua/meta/reader/filename.luac \
135         lua/modules/common.luac \
136         lua/modules/dkjson.luac \
137         lua/modules/sandbox.luac \
138         lua/modules/simplexml.luac \
139         lua/playlist/anevia_streams.luac \
140         lua/playlist/anevia_xml.luac \
141         lua/playlist/appletrailers.luac \
142         lua/playlist/bbc_co_uk.luac \
143         lua/playlist/cue.luac \
144         lua/playlist/dailymotion.luac \
145         lua/playlist/jamendo.luac \
146         lua/playlist/koreus.luac \
147         lua/playlist/liveleak.luac \
148         lua/playlist/newgrounds.luac \
149         lua/playlist/rockbox_fm_presets.luac \
150         lua/playlist/soundcloud.luac \
151         lua/playlist/vimeo.luac \
152         lua/playlist/vocaroo.luac \
153         lua/playlist/youtube.luac \
154         lua/playlist/twitch.luac \
155         lua/sd/fmc.luac \
156         lua/sd/icecast.luac \
157         lua/sd/icast.luac \
158         lua/sd/jamendo.luac \
159         $(NULL)
161 nobase_doc_DATA = \
162         lua/README.txt \
163         lua/extensions/README.txt \
164         lua/http/requests/README.txt \
165         lua/intf/README.txt \
166         lua/intf/dumpmeta.lua \
167         lua/meta/README.txt \
168         lua/meta/art/README.txt \
169         lua/meta/art/01_googleimage.lua \
170         lua/meta/fetcher/README.txt \
171         lua/meta/reader/README.txt \
172         lua/meta/reader/filename.lua \
173         lua/playlist/README.txt \
174         lua/playlist/liveleak.lua \
175         lua/playlist/youtube.lua \
176         lua/sd/README.txt \
177         lua/sd/icecast.lua \
178         lua/sd/icast.lua \
179         $(NULL)
181 nobase_dist_vlcdata_DATA += \
182         lua/http/view.html \
183         lua/http/mobile.html \
184         lua/http/dialogs/create_stream.html \
185         lua/http/dialogs/equalizer_window.html \
186         lua/http/dialogs/mosaic_window.html \
187         lua/http/dialogs/batch_window.html \
188         lua/http/dialogs/error_window.html \
189         lua/http/dialogs/browse_window.html \
190         lua/http/dialogs/stream_window.html \
191         lua/http/dialogs/offset_window.html \
192         lua/http/dialogs/stream_config_window.html \
193         lua/http/custom.lua \
194         lua/http/vlm.html \
195         lua/http/images/buttons.png \
196         lua/http/images/speaker-32.png \
197         lua/http/images/vlc-48.png \
198         lua/http/images/Audio-48.png \
199         lua/http/images/Folder-48.png \
200         lua/http/images/Other-48.png \
201         lua/http/images/Back-48.png \
202         lua/http/images/Video-48.png \
203         lua/http/images/vlc16x16.png \
204         lua/http/mobile_equalizer.html \
205         lua/http/vlm_export.html \
206         lua/http/mobile_browse.html \
207         lua/http/favicon.ico \
208         lua/http/mobile_view.html \
209         lua/http/requests/playlist.xml \
210         lua/http/requests/playlist.json \
211         lua/http/requests/README.txt \
212         lua/http/requests/playlist_jstree.xml \
213         lua/http/requests/browse.xml \
214         lua/http/requests/browse.json \
215         lua/http/requests/vlm_cmd.xml \
216         lua/http/requests/status.xml \
217         lua/http/requests/status.json \
218         lua/http/requests/vlm.xml \
219         lua/http/index.html \
220         lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css \
221         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png \
222         lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png \
223         lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png \
224         lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png \
225         lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png \
226         lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png \
227         lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png \
228         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png \
229         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png \
230         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png \
231         lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png \
232         lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png \
233         lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png \
234         lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png \
235         lua/http/css/main.css \
236         lua/http/css/mobile.css \
237         lua/http/js/ui.js \
238         lua/http/js/common.js \
239         lua/http/js/jquery.jstree.js \
240         lua/http/js/controllers.js
241 endif
242 MOSTLYCLEANFILES += $(nobase_vlcdata_DATA)
244 EXTRA_DIST += \
245         lua/README.txt \
246         lua/extensions/README.txt \
247         lua/extensions/VLSub.lua \
248         lua/intf/README.txt \
249         lua/intf/cli.lua \
250         lua/intf/dummy.lua \
251         lua/intf/dumpmeta.lua \
252         lua/intf/http.lua \
253         lua/intf/luac.lua \
254         lua/intf/modules/host.lua \
255         lua/intf/modules/httprequests.lua \
256         lua/intf/telnet.lua \
257         lua/meta/README.txt \
258         lua/meta/art/README.txt \
259         lua/meta/art/02_frenchtv.lua \
260         lua/meta/art/03_lastfm.lua \
261         lua/meta/art/01_googleimage.lua \
262         lua/meta/art/00_musicbrainz.lua \
263         lua/meta/fetcher/README.txt \
264         lua/meta/reader/README.txt \
265         lua/meta/reader/filename.lua \
266         lua/modules/common.lua \
267         lua/modules/dkjson.lua \
268         lua/modules/sandbox.lua \
269         lua/modules/simplexml.lua \
270         lua/playlist/README.txt \
271         lua/playlist/anevia_streams.lua \
272         lua/playlist/anevia_xml.lua \
273         lua/playlist/appletrailers.lua \
274         lua/playlist/bbc_co_uk.lua \
275         lua/playlist/break.lua \
276         lua/playlist/canalplus.lua \
277         lua/playlist/cue.lua \
278         lua/playlist/dailymotion.lua \
279         lua/playlist/extreme.lua \
280         lua/playlist/france2.lua \
281         lua/playlist/jamendo.lua \
282         lua/playlist/katsomo.lua \
283         lua/playlist/koreus.lua \
284         lua/playlist/lelombrik.lua \
285         lua/playlist/liveleak.lua \
286         lua/playlist/metacafe.lua \
287         lua/playlist/mpora.lua \
288         lua/playlist/newgrounds.lua \
289         lua/playlist/pinkbike.lua \
290         lua/playlist/pluzz.lua \
291         lua/playlist/rockbox_fm_presets.lua \
292         lua/playlist/soundcloud.lua \
293         lua/playlist/vimeo.lua \
294         lua/playlist/vocaroo.lua \
295         lua/playlist/youtube.lua \
296         lua/playlist/twitch.lua \
297         lua/playlist/zapiks.lua \
298         lua/sd/README.txt \
299         lua/sd/fmc.lua \
300         lua/sd/icecast.lua \
301         lua/sd/icast.lua \
302         lua/sd/jamendo.lua
303 DIST_solid = \
304         solid/vlc-openbd.desktop \
305         solid/vlc-opencda.desktop \
306         solid/vlc-opendvd.desktop \
307         solid/vlc-openvcd.desktop