#!/usr/bin/make -f

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

# The upstream clean target removes the changelog.
override_dh_auto_clean:
	rm -f *~ *.pyc *.pyo __version__.py

override_dh_auto_build:
	rm -f __version__.py
	rm -f __isocodes__.py
	ISO_3166_1_URL="file:///usr/share/iso-codes/json/iso_3166-1.json" \
	ISO_639_3_URL="file:///usr/share/iso-codes/json/iso_639-3.json" \
	dh_auto_build

override_dh_auto_test:
	# nothing

%:
	dh $@ --with python2
