#!/usr/bin/make -f

%:
	dh $@ --with autoreconf --with python2

override_dh_auto_build:
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name '*.la' -delete

# I build the docs after the 'make install' because the python docs require an installed lcm
	cd docs; ./build-docs.sh

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/html