GZIP=gzip GUNZIP=gunzip XSLT=xsltproc TRANSLATEXSL=gramps-translate.xsl en.%.gramps: %.gramps $(GUNZIP) < $< | $(XSLT) --stringparam living '[LIVING]' $(TRANSLATEXSL) - | $(GZIP) > $@ # Add "--param log-missing 1" to the XSLT command line to log the untranslated strings to stderr. # See the XSL source for more customizable switches. # debugging - without zip/unzip on the fly #%.gramps.xml: %.gramps # $(GUNZIP) $< > $@ # #en.%.gramps.xml: %.gramps.xml # $(XSLT) --stringparam living '[LIVING]' $(TRANSLATEXSL) $< | > $@