#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --with autoreconf

get-orig-source:
	uscan --verbose --force-download --no-symlink
	@if test -e ../wmtv-*.download ; then \
		rename -f -v "s/wmtv-(.+)\.download/wmtv_\1\.orig\.tar\.gz/" \
			../wmtv-*.download; \
	fi
