summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am32
-rw-r--r--data/pluma.appdata.xml.in.in (renamed from data/pluma.appdata.xml.in)0
2 files changed, 18 insertions, 14 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 21c26baa..ca29ef57 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,12 +1,14 @@
-desktopdir = $(datadir)/applications
-desktop_in_files = pluma.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+desktopdir = $(datadir)/applications
+desktop_DATA = pluma.desktop
+desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
+desktop_in_in_files = $(desktop_in_files:.desktop.in=.desktop.in.in)
$(desktop_DATA): $(desktop_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
appdatadir = $(datadir)/metainfo
-appdata_in_files = pluma.appdata.xml.in
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_DATA = pluma.appdata.xml
+appdata_in_files = $(appdata_DATA:.appdata.xml=.appdata.xml.in)
+appdata_in_in_files = $(appdata_in_files:.appdata.xml.in=.appdata.xml.in.in)
$(appdata_DATA): $(appdata_in_files)
$(AM_V_GEN) GETTEXTDATADIRS=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
@@ -22,19 +24,21 @@ bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh
EXTRA_DIST = \
- $(appdata_in_files) \
- $(desktop_in_files) \
- $(man_MANS) \
- pluma.pc.in \
+ $(appdata_in_in_files) \
+ $(desktop_in_in_files) \
+ $(man_MANS) \
+ pluma.pc.in \
pluma-bugreport.sh.in
-CLEANFILES = \
- $(desktop_DATA) \
+CLEANFILES = \
+ $(appdata_DATA) \
+ $(desktop_DATA) \
$(gsettings_SCHEMAS) \
- $(pkgconfig_DATA) \
- $(appdata_DATA)
-
+ $(pkgconfig_DATA)
+DISTCLEANFILES = \
+ $(appdata_in_files) \
+ $(desktop_in_files)
-include $(top_srcdir)/git.mk
diff --git a/data/pluma.appdata.xml.in b/data/pluma.appdata.xml.in.in
index 5ef27402..5ef27402 100644
--- a/data/pluma.appdata.xml.in
+++ b/data/pluma.appdata.xml.in.in