[vlc-commits] vlc.desktop: correctly set the path for the mimetypes file
Jean-Baptiste Kempf
git at videolan.org
Wed Jun 8 17:10:01 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 8 17:09:29 2016 +0200| [ab4355310878432630dcc1b18c6609ac4c9f2421] | committer: Jean-Baptiste Kempf
vlc.desktop: correctly set the path for the mimetypes file
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab4355310878432630dcc1b18c6609ac4c9f2421
---
share/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/Makefile.am b/share/Makefile.am
index 665b7e3..17534fc 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -13,7 +13,7 @@ CLEANFILES += $(appdata_DATA)
vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > tmp-$@
- $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; sed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
+ $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; sed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@
More information about the vlc-commits
mailing list