#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS

%:
	dh $@  --with autotools-dev

override_dh_auto_build-indep:
	make docs/building.shtml
	make docs/big-picture.pdf
	make docs/development.shtml
	make docs/index.shtml
	make manual.html

override_dh_auto_clean:
	rm -rf tmp/build/*/
	rm -f docs/building.shtml docs/big-picture.pdf docs/development.shtml
	rm -f docs/index.shtml manual.html manual.mkd config.log
	dh_auto_clean
