From 7f1178f973d6a485fb32f55eca526d780bed72cc Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 10 Nov 2014 11:56:23 +0100 Subject: [PATCH] appdata: Add autotool bits for appdata --- Makefile.am | 9 ++++++++- ...-terminal.appdata.xml => mate-terminal.appdata.xml.in | 0 po/POTFILES.in | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) rename mate-terminal.appdata.xml => mate-terminal.appdata.xml.in (100%) diff --git a/Makefile.am b/Makefile.am index 7f449d7..c2fdab1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,11 @@ DISTCHECK_CONFIGURE_FLAGS = \ --disable-silent-rules \ --with-gtk=2.0 +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-terminal.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + desktopdir = $(datadir)/applications desktop_in_files = @PACKAGE@.desktop.in.in desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) @@ -26,10 +31,12 @@ EXTRA_DIST = \ xmldocs.make \ omf.make \ mate-terminal.wrapper \ - $(man_MANS) \ + $(appdata_in_files) \ + $(man_MANS) \ $(NULL) CLEANFILES = \ + mate-terminal.appdata.xml \ $(desktop_DATA) \ $(NULL) diff --git a/mate-terminal.appdata.xml b/mate-terminal.appdata.xml.in similarity index 100% rename from mate-terminal.appdata.xml rename to mate-terminal.appdata.xml.in diff --git a/po/POTFILES.in b/po/POTFILES.in index 64a4d2a..e295d79 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,6 +1,7 @@ [encoding: UTF-8] # List of source files containing translatable strings. # Please keep this file sorted alphabetically. +mate-terminal.appdata.xml.in mate-terminal.desktop.in.in src/eggsmclient.c src/org.mate.terminal.gschema.xml.in