[gnome-music] Do not ship a broken AppData file



commit 4e4ab5e77e12aa103e80fcf84d8e8d882122984d
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 11 14:24:26 2013 +0000

    Do not ship a broken AppData file
    
    We need to use intltool to convert the .xml.in file into a .xml file as this
    actually merges in the translations. Doing this in autoconf works for paths,
    but not translations.
    
    With this change gnome-music correctly shows up in gnome-software.

 configure.ac     |    1 -
 data/Makefile.am |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 555785f..a819d03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,6 @@ AC_CONFIG_FILES([
   data/Makefile
   data/headerbar.ui
   data/AboutDialog.ui
-  data/gnome-music.appdata.xml
   gnomemusic/Makefile
   po/Makefile.in
   libgd/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 7328cbd..8af86c2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,7 +11,8 @@ apps_DATA = gnome-music.desktop
 @INTLTOOL_DESKTOP_RULE@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-music.appdata.xml
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gnome-music.appdata.xml.in
 
 @INTLTOOL_XML_RULE@
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]