appdata: Add autotool bits for appdata

This commit is contained in:
infirit 2014-11-10 12:01:52 +01:00
parent 8dc0f51c1d
commit c52d5fa4c4
3 changed files with 11 additions and 4 deletions

View File

@ -3,7 +3,11 @@ desktop_in_files = pluma.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@ @INTLTOOL_DESKTOP_RULE@
@INTLTOOL_XML_NOMERGE_RULE@ @INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = pluma.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
gsettings_SCHEMAS = org.mate.pluma.gschema.xml gsettings_SCHEMAS = org.mate.pluma.gschema.xml
@GSETTINGS_RULES@ @GSETTINGS_RULES@
@ -26,6 +30,7 @@ bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh bugreport_SCRIPTS = pluma-bugreport.sh
EXTRA_DIST = \ EXTRA_DIST = \
$(appdata_in_files) \
$(desktop_in_files) \ $(desktop_in_files) \
$(gsettings_SCHEMAS).in.in \ $(gsettings_SCHEMAS).in.in \
$(convert_DATA) \ $(convert_DATA) \
@ -35,9 +40,10 @@ EXTRA_DIST = \
CLEANFILES = \ CLEANFILES = \
$(desktop_DATA) \ $(desktop_DATA) \
$(gsettings_SCHEMAS_in) \ $(gsettings_SCHEMAS_in) \
$(gsettings_SCHEMAS) \ $(gsettings_SCHEMAS) \
$(pkgconfig_DATA) $(pkgconfig_DATA) \
pluma.appdata.xml

View File

@ -2,6 +2,7 @@
# Please keep this file sorted alphabetically. # Please keep this file sorted alphabetically.
[encoding: UTF-8] [encoding: UTF-8]
data/org.mate.pluma.gschema.xml.in.in data/org.mate.pluma.gschema.xml.in.in
data/pluma.appdata.xml.in
data/pluma.desktop.in.in data/pluma.desktop.in.in
pluma/dialogs/pluma-close-confirmation-dialog.c pluma/dialogs/pluma-close-confirmation-dialog.c
pluma/dialogs/pluma-encodings-dialog.c pluma/dialogs/pluma-encodings-dialog.c