#!/usr/bin/make -f %: dh $@ --with autoreconf,quilt \ --parallel \ --builddirectory=build/ gentarball: SOURCE=libcmrt gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//') gentarball: tar --transform 's,^,$(SOURCE)-$(UV)/,' \ --exclude 'debian' --exclude-vcs \ -cJf ../$(SOURCE)_$(UV).orig.tar.xz .