summaryrefslogtreecommitdiff
path: root/Package
blob: a77737ace89428e97c65c31360f9846f5e119ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

set -x

V=$(git describe | sed -es/libnet-//)
D=$(date --rfc-822)

rm -rf debian
cp -r ../debian ./
sed -es"/VERSION/$V/" -es"/DATE/$D/" < ../debian/changelog > debian/changelog
cat debian/changelog

dpkg-buildpackage -b -us -uc -rfakeroot -i -I.swp