mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
added a basic get-orig-source
must be run from within debian/ dir
This commit is contained in:
parent
483050df42
commit
b272c7ad63
1 changed files with 5 additions and 0 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue