Skip to content
Snippets Groups Projects
Commit ab435531 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

vlc.desktop: correctly set the path for the mimetypes file

parent dc05e965
No related branches found
No related tags found
No related merge requests found
......@@ -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-$@ $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment