do_debian script
To make a debian release
This commit is contained in:
parent
b169a3ab35
commit
ada4f50843
28
do_debian
Executable file
28
do_debian
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Create archive
|
||||||
|
make clean
|
||||||
|
make release
|
||||||
|
|
||||||
|
# Put archive in temp directory
|
||||||
|
T=$(mktemp -d)
|
||||||
|
mv *.orig.* $T
|
||||||
|
|
||||||
|
# Copy debian directory
|
||||||
|
git stash
|
||||||
|
git checkout debian
|
||||||
|
cp -r debian $T
|
||||||
|
git checkout -
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
# Uncompress archive
|
||||||
|
cd $T
|
||||||
|
tar -xvvf *.tar.gz
|
||||||
|
mv debian relational
|
||||||
|
|
||||||
|
# Build package
|
||||||
|
cd relational
|
||||||
|
dpkg-buildpackage
|
||||||
|
lintian -E --pedantic ../*.changes
|
||||||
|
|
||||||
|
echo $T
|
Loading…
x
Reference in New Issue
Block a user