#!/usr/bin/gmake -f

%:
	dh $@

package = diffutils

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -rf doc/$(package)

override_dh_auto_configure:
	CC="gcc-4.8 -m64" dh_auto_configure -- --disable-silent-rules

override_dh_installdocs:
	cd doc && makeinfo --html --split=chapter $(package).texi
	dh_installdocs -i doc/$(package)/*.html
	dh_installdocs -a NEWS

override_dh_auto_test:
