appdata: Add autotool bits for appdata

master-1.22
infirit 2014-11-10 11:56:23 +01:00
parent 2301530c14
commit 7f1178f973
3 changed files with 9 additions and 1 deletions

View File

@ -10,6 +10,11 @@ DISTCHECK_CONFIGURE_FLAGS = \
--disable-silent-rules \ --disable-silent-rules \
--with-gtk=2.0 --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 desktopdir = $(datadir)/applications
desktop_in_files = @PACKAGE@.desktop.in.in desktop_in_files = @PACKAGE@.desktop.in.in
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
@ -26,10 +31,12 @@ EXTRA_DIST = \
xmldocs.make \ xmldocs.make \
omf.make \ omf.make \
mate-terminal.wrapper \ mate-terminal.wrapper \
$(man_MANS) \ $(appdata_in_files) \
$(man_MANS) \
$(NULL) $(NULL)
CLEANFILES = \ CLEANFILES = \
mate-terminal.appdata.xml \
$(desktop_DATA) \ $(desktop_DATA) \
$(NULL) $(NULL)

View File

@ -1,6 +1,7 @@
[encoding: UTF-8] [encoding: UTF-8]
# List of source files containing translatable strings. # List of source files containing translatable strings.
# Please keep this file sorted alphabetically. # Please keep this file sorted alphabetically.
mate-terminal.appdata.xml.in
mate-terminal.desktop.in.in mate-terminal.desktop.in.in
src/eggsmclient.c src/eggsmclient.c
src/org.mate.terminal.gschema.xml.in src/org.mate.terminal.gschema.xml.in