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

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf debian/autogen.sh

override_dh_auto_configure:
	dh_auto_configure -Dfanwood
	dh_auto_configure -Dlindenhill

override_dh_auto_build:
	ln -s tools sortsmill
	PYTHONPATH=.. dh_auto_build -Dfanwood    -- MAKEFONTS=../tools/make-fonts
	PYTHONPATH=.. dh_auto_build -Dlindenhill -- MAKEFONTS=../tools/make-fonts
	rm sortsmill

override_dh_auto_clean:
	dh_auto_clean -Dfanwood
	dh_auto_clean -Dlindenhill
