X-Git-Url: https://git.toastfreeware.priv.at/gregoa/zavai.git/blobdiff_plain/cfe2d6486334cf2fed26c9e7f9ea0a58e2dab1f4..7b4c4a4cc5b164e51dd5d3f8e38a2bbf08c87446:/debian/rules diff --git a/debian/rules b/debian/rules index aa7d0b5..f5781f1 100755 --- a/debian/rules +++ b/debian/rules @@ -5,3 +5,13 @@ %: dh $@ + +UPSTREAMVERSION=$(shell dpkg-parsechangelog | grep ^Version | cut -f2 -d' ' | cut -f1 -d-) + +prepare_targz_from_git_checkout: clean + p=`pwd` ; \ + pdir=`dirname $$p` ; \ + pbase=`basename $$p` ; \ + cd $$pdir ; \ + GZIP=--best tar --exclude .git -czvf zavai_$(UPSTREAMVERSION).orig.tar.gz $$pbase +