[vlc-commits] [Git][videolan/vlc][master] share: fix appdata.xml rules
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Tue Mar 8 21:41:47 UTC 2022
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
d64976fd by Rémi Denis-Courmont at 2022-03-08T21:16:13+00:00
share: fix appdata.xml rules
- - - - -
1 changed file:
- share/Makefile.am
Changes:
=====================================
share/Makefile.am
=====================================
@@ -7,8 +7,7 @@ if !HAVE_WIN32
if !HAVE_DARWIN
desktop_DATA = vlc.desktop vlc-openbd.desktop vlc-opendvd.desktop vlc-openvcd.desktop vlc-opencda.desktop
appdatadir = $(datarootdir)/metainfo
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdata_in_files = vlc.appdata.xml.in
+appdata_DATA = vlc.appdata.xml
endif
endif
@@ -25,7 +24,10 @@ CLEANFILES += $(desktop_DATA) $(appdata_DATA)
$(AM_V_at)mv -f tmp-$@ $@
vlc.appdata.xml: vlc.appdata.xml.in
- $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ || cp $< $@
+ $(AM_V_GEN)$(MSGFMT) --xml --template "$<" -d "$(top_srcdir)/po" \
+ -o "$@.tmp" || \
+ cp $< $@.tmp
+ $(AM_V_at)mv -f "$@.tmp" "$@"
iconsdatadir = $(datadir)/icons/hicolor
icons16dir = $(iconsdatadir)/16x16/apps
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d64976fd7e4f3b6abb4b9aa8903a43db1ecb5135
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d64976fd7e4f3b6abb4b9aa8903a43db1ecb5135
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list