summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-26 13:08:32 +0100
committerraveit65 <[email protected]>2021-02-04 22:46:51 +0100
commit97e1fe87f7cb362e0731b4aceec5b8f21e5632d1 (patch)
tree5feb76d92b71af6159d77f383e4a9851b215219f /data
parent299d0088a38a465c9de2ef890cecba9bd7a2b0f5 (diff)
downloadpluma-97e1fe87f7cb362e0731b4aceec5b8f21e5632d1.tar.bz2
pluma-97e1fe87f7cb362e0731b4aceec5b8f21e5632d1.tar.xz
build: Use PACKAGE_URL variable
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