Commit 289fbc6a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Correct paths for and inside desktop entry inspite of --prefix

parent da1f02df
CLEANFILES = skins2/default.vlt
MOSTLYCLEANFILES =
appdatadir = $(datadir)/applications/
EXTRA_DIST =
iconsdatadir = $(datadir)/icons/hicolor/
icons16dir = $(iconsdatadir)/16x16/apps/
......@@ -10,7 +9,14 @@ icons48dir = $(iconsdatadir)/48x48/apps/
icons128dir = $(iconsdatadir)/128x128/apps/
icons256dir = $(iconsdatadir)/256x256/apps/
dist_appdata_DATA = vlc.desktop
appdatadir = /usr/share/applications
appdata_DATA = vlc.desktop
EXTRA_DIST += vlc.desktop.in
CLEANFILES += $(appdata_DATA)
vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > $@.tmp
$(AM_V_at)mv -f $@.tmp $@
dist_vlcdata_DATA = icons/vlc.ico
dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
......@@ -26,7 +32,7 @@ nobase_dist_vlcdata_SCRIPTS = \
utils/video-vlc-default.sh \
$(NULL)
EXTRA_DIST = \
EXTRA_DIST += \
$(skins2_default_vlt_FILES) \
$(DIST_rsrc) \
$(DIST_skins2) \
......
......@@ -66,8 +66,8 @@ GenericName[wa]=Djouweu d' media
Comment[wa]=Lét, egaloye, evoye vos floûs multimedia
Name[zh_CN]=VLC media player
Comment[zh_CN]=为您读取、捕获或发送多媒体流
Exec=vlc %U
TryExec=vlc
Exec=@bindir@/vlc %U
TryExec=@bindir@/vlc
Icon=vlc
Terminal=false
Type=Application
......
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