aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-18 18:30:29 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-19 00:02:13 -0300
commitd95d769562653a7771360e53fb31fa969f66ec8a (patch)
tree3b8bc7c21dd3e531cd8c72ba11b4447856cd7115 /data/Makefile.am
parentf835fb0566fecd0336159cae9f04425745613870 (diff)
Allow translations to data/org.gnome.camorama.gschema.xml
Now that we're using GSettings for the schema, let's add it to the translation logic. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c7052e2..0cac3b1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,6 +16,9 @@ gsettings_SCHEMAS = org.gnome.camorama.gschema.xml
@GSETTINGS_RULES@
+$(gsettings_SCHEMAS) : $(gsettings_SCHEMAS).in
+ $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
+
# For the sake of some users
user-install: $(app_DATA) $(keys_DATA)
mkdir -p ~/.gnome/application-registry ~/.gnome/mime-info/

Privacy Policy