summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-10 12:01:52 +0100
committerinfirit <[email protected]>2014-11-10 12:05:04 +0100
commitc52d5fa4c48c8449c14b67a481c38812ce6bf06d (patch)
treeb0720c193df209e53c62b05f100553e8f6c94dd1
parent8dc0f51c1def68f1ca80bab2afea3e8156d30b49 (diff)
downloadpluma-c52d5fa4c48c8449c14b67a481c38812ce6bf06d.tar.bz2
pluma-c52d5fa4c48c8449c14b67a481c38812ce6bf06d.tar.xz
appdata: Add autotool bits for appdata
-rw-r--r--data/Makefile.am14
-rw-r--r--data/pluma.appdata.xml.in (renamed from data/pluma.appdata.xml)0
-rw-r--r--po/POTFILES.in1
3 files changed, 11 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a2b6e9f3..002a9031 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,7 +3,11 @@ desktop_in_files = pluma.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@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_RULES@
@@ -26,6 +30,7 @@ bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh
EXTRA_DIST = \
+ $(appdata_in_files) \
$(desktop_in_files) \
$(gsettings_SCHEMAS).in.in \
$(convert_DATA) \
@@ -35,9 +40,10 @@ EXTRA_DIST = \
CLEANFILES = \
$(desktop_DATA) \
- $(gsettings_SCHEMAS_in) \
- $(gsettings_SCHEMAS) \
- $(pkgconfig_DATA)
+ $(gsettings_SCHEMAS_in) \
+ $(gsettings_SCHEMAS) \
+ $(pkgconfig_DATA) \
+ pluma.appdata.xml
diff --git a/data/pluma.appdata.xml b/data/pluma.appdata.xml.in
index b24b35d9..b24b35d9 100644
--- a/data/pluma.appdata.xml
+++ b/data/pluma.appdata.xml.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1e50b4b4..a994e39d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
data/org.mate.pluma.gschema.xml.in.in
+data/pluma.appdata.xml.in
data/pluma.desktop.in.in
pluma/dialogs/pluma-close-confirmation-dialog.c
pluma/dialogs/pluma-encodings-dialog.c