#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
XP=xsltproc -''-nonet

%:
	dh $@

override_dh_auto_build:
	( cd debian/man ; $(XP) $(DB2MAN) wotsap.dbk )

override_dh_auto_clean:
	dh_auto_clean
	rm -fr *~ core *.pyc
	( cd debian/man ; rm -fr wotsap.1 *~ )

