[gnome-boxes] data: AppData build fixes



commit 4cbe7c043fa5e22c2dc966ec7c782056bc3bd4b3
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Sep 3 02:11:30 2013 +0300

    data: AppData build fixes
    
    * Add .appdata.xml.in file to distribution.
    * Clean .appdata.xml file on `make distclean`.

 data/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 38d1074..8f6adda 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -14,7 +14,8 @@ gsettings_SCHEMAS = org.gnome.boxes.gschema.xml
 @GSETTINGS_RULES@
 
 appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-boxes.appdata.xml
+appdata_in_file = gnome-boxes.appdata.xml.in
+appdata_DATA = $(appdata_in_file:.xml.in=.xml)
 @INTLTOOL_XML_RULE@
 
 styledir         = $(datadir)/gnome-boxes/style
@@ -54,12 +55,14 @@ EXTRA_DIST =                                        \
        $(searchprovider_DATA)                  \
        $(logosdb_DATA)                         \
        $(service_in_files)                     \
+       $(appdata_in_file)                      \
        $(NULL)
 
 DISTCLEANFILES =                               \
        $(gsettings_SCHEMAS)                    \
        $(service_DATA)                         \
        $(desktop_DATA)                         \
+       $(appdata_DATA)                         \
        $(NULL)
 
 MAINTAINERCLEANFILES =                         \


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