added a basic get-orig-source

must be run from within debian/ dir
This commit is contained in:
Dustin Kirkland 2008-12-16 16:54:50 -06:00
commit b272c7ad63

5
debian/rules vendored
View file

@ -9,6 +9,11 @@
# export DH_VERBOSE=1 # export DH_VERBOSE=1
PACKAGE=screen-profiles PACKAGE=screen-profiles
VER=`head -n 1 ./changelog | sed 's/^.*(//' | sed 's/).*//' | sed 's/-.*//'`
get-orig-source:
[ -d ../../${PACKAGE} ] && mv ../../${PACKAGE} ../../${PACKAGE}-${VER} || true
tar -C ../../ --exclude .bzr --exclude debian -zcvf ../../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER}
build: build: