summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-06 16:20:20 +0200
committerinfirit <[email protected]>2015-09-06 16:20:20 +0200
commit9ef7e261d4a9ea536d6f467c2b9bd1381bcd73aa (patch)
treee7e9ceb6ea268edfb47c900fd1a427f72059f9bc /data/Makefile.am
parent667466775b7d785ac048732b18efacea09711ab2 (diff)
downloadmate-panel-9ef7e261d4a9ea536d6f467c2b9bd1381bcd73aa.tar.bz2
mate-panel-9ef7e261d4a9ea536d6f467c2b9bd1381bcd73aa.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am19
1 files changed, 8 insertions, 11 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7e13b47d..f66c331c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,16 +12,15 @@ layout_DATA = \
gsettings_ENUM_NAMESPACE = org.mate.panel
gsettings_ENUM_FILES = $(top_srcdir)/mate-panel/panel-enums-gsettings.h
-panel_gschemas_in_in = \
- org.mate.panel.gschema.xml.in.in \
- org.mate.panel.object.gschema.xml.in.in \
- org.mate.panel.toplevel.gschema.xml.in.in \
- org.mate.panel.menubar.gschema.xml.in.in
+panel_gschemas_in = \
+ org.mate.panel.gschema.xml.in \
+ org.mate.panel.object.gschema.xml.in \
+ org.mate.panel.toplevel.gschema.xml.in \
+ org.mate.panel.menubar.gschema.xml.in
-panel_gschemas_in = $(panel_gschemas_in_in:.xml.in.in=.xml.in)
gsettings_SCHEMAS = $(panel_gschemas_in:.xml.in=.xml)
-%.gschema.xml.in: %.gschema.xml.in.in Makefile
+%.gschema.xml: %.gschema.xml.in Makefile
$(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
@GSETTINGS_RULES@
@@ -31,9 +30,7 @@ convert_DATA = mate-panel.convert
EXTRA_DIST = \
$(convert_DATA) \
- $(panel_gschemas_in_in) \
+ $(panel_gschemas_in) \
$(layout_DATA)
-CLEANFILES = \
- $(panel_gschemas_in) \
- $(gsettings_SCHEMAS)
+CLEANFILES = $(gsettings_SCHEMAS)