summaryrefslogtreecommitdiff
path: root/schemas/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-08 14:29:39 +0200
committerStefano Karapetsas <[email protected]>2012-10-08 14:29:39 +0200
commit3873b9ff75a839ec85694b987da788ab254ec519 (patch)
treea3211dd8ab55a28904e41f599b03f455455bd182 /schemas/Makefile.am
parent5a1ce4568d566302c3c230e2bf66dc6d556cda6d (diff)
downloadmate-desktop-3873b9ff75a839ec85694b987da788ab254ec519.tar.bz2
mate-desktop-3873b9ff75a839ec85694b987da788ab254ec519.tar.xz
fix internationalization support for gsettings schemas
Diffstat (limited to 'schemas/Makefile.am')
-rw-r--r--schemas/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index d87f89b..59cf1ed 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -19,11 +19,13 @@ gsettings_SCHEMAS = \
org.mate.typing-break.gschema.xml
@GSETTINGS_RULES@
-org.mate.background.gschema.xml.in: org.mate.background.gschema.xml.in.in Makefile
- $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' < $(srcdir)/org.mate.background.gschema.xml.in.in > org.mate.background.gschema.xml.in
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
EXTRA_DIST = \
$(gsettings_SCHEMAS)
CLEANFILES = \
- org.mate.background.gschema.xml.in
+ $(gsettings_SCHEMAS_in) \
+ $(gsettings_SCHEMAS) \
+ *.gschema.valid