[gnome-nibbles/wip/vala: 15/64] Restore more data files



commit 98aaaba81b462a0b646cf0759ba61b20f7810f6c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Jun 27 12:01:51 2015 -0500

    Restore more data files

 configure.ac     |    2 ++
 data/Makefile.am |   18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d13ec05..7daacd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,8 @@ AM_PROG_VALAC([0.28.0])
 
 GLIB_GSETTINGS
 
+APPSTREAM_XML
+
 AC_CONFIG_MACRO_DIR([m4])
 
 dnl ###########################################################################
diff --git a/data/Makefile.am b/data/Makefile.am
index 0fefeff..096b91f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,12 +1,30 @@
 SUBDIRS = levels pix
 
+desktopdir = $(datadir)/applications
+desktop_in_files = gnome-nibbles.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
+appstream_in_files = gnome-nibbles.appdata.xml.in
+appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
+ APPSTREAM_XML_RULES@
+ INTLTOOL_XML_RULE@
+
 gsettings_SCHEMAS = org.gnome.nibbles.gschema.xml
 @GSETTINGS_RULES@
 
+dist_man_MANS = gnome-nibbles.6
+
 dist_noinst_DATA = \
        gnome-nibbles.ui
 
 EXTRA_DIST = \
        $(gsettings_SCHEMAS)
 
+CLEANFILES = \
+       $(appstream_XML) \
+       $(desktop_DATA)
+
+DISTCHECK_CONFIGURE_FLAGS == --enable-appdata-check
+
 -include $(top_srcdir)/git.mk


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