#!/usr/bin/make -f

# Get VERSION from the string in PKG_INFO as generated by the current build
VERSION := $(shell grep '^Version:' src/rdiff_backup.egg-info/PKG-INFO | cut -d ' ' -f 2)

%:
	dh $@ --buildsystem=pybuild --with python3

override_dh_gencontrol:
	dh_gencontrol -- -v${VERSION}
