Makefile.am 551 Bytes
Newer Older
1
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
Pascal Georges's avatar
Pascal Georges committed
2 3

xml_in_files = \
4 5
	babymatch.xml.in

6

Pascal Georges's avatar
Pascal Georges committed
7 8
xml_DATA = $(xml_in_files:.xml.in=.xml)

9 10 11 12 13
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
Bruno Coudoin's avatar
Bruno Coudoin committed
14
	sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
15

16 17 18
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
Pascal Georges's avatar
Pascal Georges committed
19

20
CLEANFILES = $(xml_DATA)