#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2)
configure: configure-stamp
touch $@
build: build-stamp
-build-stamp: configure-stamp
+build-stamp: $(QUILT_STAMPFN) configure-stamp
dh_testdir
$(MAKE)
touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
$(MAKE) clean