## $Id: common.mk,v 1.10 2003/10/25 13:50:49 ss Exp $ #top_builddir = $(shell pwd) topdir = $(HOME)/doc/translation/docbook-emacs XSLDIR = /usr/share/xml/docbook/stylesheet/nwalsh/ xsltdir = $(topdir)/xslt fodir = $(topdir)/fo html_style = $(xsltdir)/main.xsl fo_style = $(fodir)/main.xsl fo_config = $(fodir)/userconfig.xml ## output char. encoding OENC = EUC-JP ## tools SED = sed XSLT = xsltproc XSLT_DEBUG = #--verbose XSLT_FLAGS = $(XSLT_DEBUG) --xinclude XLINT = xmllint XLINT_DEBUG = --debug LINT_FLAGS = $(XLINT_DEBUG) --valid --noout --xinclude FOP = fop FOP_DEBUG = -d FOP_FLAGS = $(FOP_DEBUG) -c $(fo_config) ## xsltproc [options] stylesheet file [file ...] TRANS = $(XSLT) $(XSLT_FLAGS) -o $@ $< #TRANS = $(XSLT) $(XSLT_FLAGS) -o $@ $^ LINT = $(XLINT) $(LINT_FLAGS) FORMAT = $(FOP) $(FOP_FLAGS) -fo $< -pdf $@ ## vim: set ai si sm: