include $(top_srcdir)/Makefile.activity ACTIVITY_SUBDIRS = erase-activity SUBDIRS = xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@ xml_in_files = \ erase_clic.xml.in xml_DATA = $(xml_in_files:.xml.in=.xml) # 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 sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@ # 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@ icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@ icon_DATA = erase_clic.svg EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh CLEANFILES = $(xml_DATA)