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

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build
	dh_auto_build -- docs

override_dh_auto_install:
	dh_auto_install
	dh_auto_install -- install-docs

override_dh_auto_clean:
	rm -f src/SDL_stretch.pc.in src/SDL_stretch.pc src/SDL_stretch-uninstalled.pc
	# Make clean doesn't remove the docs, so we do manually
	rm -f doc/SDL_stretch.spec
	rm -f doc/*.xml doc/*.dxml doc/*.html doc/*.ar doc/*.spec doc/*.old
	dh_auto_clean

