data: Actually substitute @GETTEXT_PACKAGE@ in schema files

https://bugzilla.gnome.org/show_bug.cgi?id=677497
This commit is contained in:
Jasper St. Pierre 2012-06-05 10:58:25 -04:00
parent 675572a41a
commit b79d17332e
2 changed files with 9 additions and 3 deletions

View File

@ -56,6 +56,11 @@ dist_theme_DATA = \
gsettings_SCHEMAS = org.gnome.shell.gschema.xml gsettings_SCHEMAS = org.gnome.shell.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@ @INTLTOOL_XML_NOMERGE_RULE@
%.gschema.xml.in: %.gschema.xml.in.in Makefile
$(AM_V_GEN) sed -e 's|@GETTEXT_PACKAGE[@]|$(GETTEXT_PACKAGE)|g' \
$< > $@ || rm $@
@GSETTINGS_RULES@ @GSETTINGS_RULES@
# We need to compile schemas at make time # We need to compile schemas at make time
@ -80,12 +85,13 @@ EXTRA_DIST = \
$(menu_DATA) \ $(menu_DATA) \
$(shaders_DATA) \ $(shaders_DATA) \
$(convert_DATA) \ $(convert_DATA) \
org.gnome.shell.gschema.xml.in org.gnome.shell.gschema.xml.in.in
CLEANFILES = \ CLEANFILES = \
gnome-shell.desktop.in \ gnome-shell.desktop.in \
gnome-shell-extension-prefs.in \ gnome-shell-extension-prefs.in \
$(desktop_DATA) \ $(desktop_DATA) \
$(gsettings_SCHEMAS) \ $(gsettings_SCHEMAS) \
gschemas.compiled gschemas.compiled \
org.gnome.shell.gschema.valid \
org.gnome.shell.gschema.xml.in