#!/usr/bin/make -f

DS := $(CURDIR)/debian/vtest2-source

%:
	dh $@ --without=single-binary

override_dh_auto_configure:

override_dh_auto_build:

override_dh_auto_test:

override_dh_auto_install:
	mkdir -p $(DS)/usr/src/vtest2/
	find * -print0 | \
	grep -E --null-data --invert-match '^(debian|tools)' | \
	LC_ALL=C sort -z | \
	tar cf - \
		--no-recursion --null --files-from=- \
		--clamp-mtime --mtime "@$(SOURCE_DATE_EPOCH)" \
		--mode=go=rX,u+rw,a-s \
		--owner=root --group=root --numeric-owner \
		| tar xf - -C $(DS)/usr/src/vtest2/

