# Makefile for building headache manpages.
# GNU Copyright 2003-2006, by Sylvain Le Gall <gildor@debian.org>.

all: headache.1

clean:
	-$(RM) *.1

%.1: %.xml
	# Verification
	-xmllint --nonet --noout --postvalid --xinclude $^
	# Compilation
	xsltproc --nonet --xinclude \
	  /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
	  $^


