#!/usr/bin/make -f

#export DH_VERBOSE = 1

#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Disable because the test seems to hang.
export SKIP_RHBZ1285847_SH=1
export SKIP_TEST_VIRT_SYSPREP_SCRIPT_SH=1

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	sed -i -e '1s,.*,#!/usr/bin/perl,' debian/guestfs-tools/usr/bin/virt-win-reg
