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

# 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 $@

override_dh_auto_configure:
	./waf configure --enable-gl --enable-glesv2 --prefix=/usr

override_dh_auto_build:
	./waf

override_dh_auto_install:
	./waf install --destdir=debian/tmp

override_dh_auto_clean:
	./waf distclean
	# Clean compiled python code from unpacked waflib/ directory, as
	# described in http://wiki.debian.org/UnpackWaf .
	-find waflib -name "*.pyc" -delete
