[gnome-applets] window-picker: fix distcheck
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] window-picker: fix distcheck
- Date: Mon, 2 Oct 2017 20:20:39 +0000 (UTC)
commit 0055671e29fc38f1cbe913fc5a2d28d135ec69a0
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Oct 2 23:13:32 2017 +0300
window-picker: fix distcheck
windowpicker/data/Makefile.am | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/windowpicker/data/Makefile.am b/windowpicker/data/Makefile.am
index 4eb7d79..cf0b0a8 100644
--- a/windowpicker/data/Makefile.am
+++ b/windowpicker/data/Makefile.am
@@ -10,11 +10,18 @@ $(applet_in_files): $(applet_in_files).in Makefile
-e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
$< > $@
-gsettings_file = org.gnome.gnome-applets.window-picker-applet.gschema.xml
-gsettings_SCHEMAS = $(gsettings_file)
+gsettings_schemas_in_in = \
+ org.gnome.gnome-applets.window-picker-applet.gschema.xml.in.in \
+ $(NULL)
@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_schemas_in = $(gsettings_schemas_in_in:.xml.in.in=.xml.in)
+gsettings_schemas = $(gsettings_schemas_in:.xml.in=.xml)
+
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
+
$(gsettings_file).in: $(gsettings_file).in.in
sed \
-e "s|\@GETTEXT_PACKAGE\@|$(GETTEXT_PACKAGE)|" \
@@ -26,12 +33,13 @@ $(gsettings_file).in: $(gsettings_file).in.in
EXTRA_DIST = \
org.gnome.applets.WindowPicker.panel-applet.in.in \
- $(gsettings_file).in.in
+ $(gsettings_schemas_in_in) \
+ $(NULL)
CLEANFILES = $(applet_DATA) \
$(applet_DATA).in \
- $(gsettings_file).in \
- $(gsettings_file) \
+ $(gsettings_schemas_in) \
+ $(gsettings_schemas) \
*.gschema.valid
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]