[Xfce4-commits] [apps/ristretto] 02/02: Add rules to generate and install appdata

noreply at xfce.org noreply at xfce.org
Sun Jan 25 09:17:14 CET 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository apps/ristretto.

commit 3dac899814eae63a77e61e827d258f736a168272
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Jan 25 11:08:39 2015 +0300

    Add rules to generate and install appdata
    
    This commit adds the automake stuff to generate the appdata.xml from
    the appdata.xml.in file and marks it for translations.
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 Makefile.am    |   14 ++++++++++++--
 po/POTFILES.in |    1 +
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1a422b6..e4aea44 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,14 @@ desktop_in_files = ristretto.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+#
+# .appdata
+#
+ at INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = ristretto.appdata.xml.in
+
 EXTRA_DIST = \
 	autogen.sh \
 	intltool-extract.in \
@@ -14,13 +22,15 @@ EXTRA_DIST = \
 	intltool-update.in \
 	$(desktop_in_files) \
 	$(pixmaps_DATA) \
-	$(wrapper_DATA)
+	$(wrapper_DATA) \
+	$(appdata_in_files)
 
 DISTCLEANFILES = \
 	intltool-extract \
 	intltool-merge \
 	intltool-update \
-	$(desktop_DATA)
+	$(desktop_DATA) \
+	$(appdata_DATA)
 
 DISTCHECK_CONFIGURE_FLAGS=--enable-gen-doc
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index de05232..91421bd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -12,3 +12,4 @@ src/wallpaper_manager.c
 src/xfce_wallpaper_manager.c
 src/gnome_wallpaper_manager.c
 ristretto.desktop.in
+ristretto.appdata.xml.in

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list