Commit 3e6ea2c9 authored by Benjamin Drung's avatar Benjamin Drung Committed by Jean-Baptiste Kempf

osdmenu: Tweak config file for installed system

And not for in-tree running

Close: #5111
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
(cherry picked from commit f2b874d5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 133cdf3d
......@@ -47,9 +47,11 @@ EXTRA_DIST += \
$(DIST_skins2) \
$(DIST_http_lua) \
$(DIST_lua) \
osdmenu/default.cfg.in \
$(DIST_osdmenu_default) \
$(DIST_maemo) \
$(DIST_solid)
CLEANFILES += osdmenu/default.cfg
nobase_vlcdata_DATA =
if BUILD_SKINS
......@@ -58,6 +60,7 @@ nobase_vlcdata_DATA += $(DIST_skins2)
endif
if BUILD_OSDMENU
nobase_vlcdata_DATA += \
osdmenu/default.cfg \
$(DIST_osdmenu_default)
endif
if BUILD_HILDON
......@@ -67,6 +70,10 @@ if KDE_SOLID
soliddata_DATA = $(DIST_solid)
endif
osdmenu/default.cfg: osdmenu/default.cfg.in $(top_builddir)/config.status
$(AM_V_GEN)mkdir -p osdmenu; \
sed -e 's,\@vlcdatadir\@,$(vlcdatadir),g' < "$<" > $@
DIST_rsrc = \
newres.h \
resource.h \
......@@ -98,7 +105,6 @@ skins2/default.vlt: $(skins2_default_vlt_FILES)
tar cvv --exclude .svn --no-recursion --null -T -) | \
gzip -n > skins2/default.vlt
DIST_osdmenu_default = \
osdmenu/default.cfg \
osdmenu/default/unselected.png \
osdmenu/default/selection/bw.png \
osdmenu/default/selection/esc.png \
......
dir share/osdmenu/default
dir @vlcdatadir@/osdmenu/default
action key-play-pause (0,0)
unselect unselected.png
select selection/play_pause.png
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment