#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	mkdir symlinks/
	ln -s ../../../../etc/lintian/pkg.conf symlinks/pkg-old.conf
	ln -s ../..//..//..//../etc/lintian/pkg.conf symlinks/pkg.conf
	ln -s /usr/share/lintian/data/data-file symlinks/data-file.old
	ln -s /etc/lintian/ symlinks/etc-lintian
	ln -s / symlinks/self-resursive
	ln -s ../../lintian-old/../lintian/data/data-file  symlinks/spurious

override_dh_auto_clean:
	rm -fr symlinks/

override_dh_link:
	# it will fix our symlinks and ruin the test, so skip it.
