3 PARAMS = --stringparam "man.justify" 1
4 PARAMS += --stringparam "man.hyphenate" 1
5 STYLE = @DOCBOOK_STYLE@/manpages/docbook.xsl
6 .PHONY: checkspell man-clean validate
8 man_SRC = shigofumi.xml
9 man_MANS = shigofumi.1 shigofumirc.5
10 EXTRA_DIST = $(man_SRC) $(man_MANS)
13 xmllint --valid --noout $<
15 checkspell: $(man_SRC)
16 aspell --lang=en --mode=sgml list < $< | sort -u > badlist
19 $(man_MANS): $(man_SRC)
20 xsltproc $(PARAMS) $(STYLE) $<