2016-03-27 21:11:30 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
DEST=$1
|
|
|
|
|
2016-05-02 08:49:16 +02:00
|
|
|
make store_git_version
|
2016-03-27 21:11:30 +02:00
|
|
|
make dist
|
|
|
|
# unpack dist tarball
|
|
|
|
mkdir -p "${DEST}"
|
|
|
|
tar xf *.tar.bz2 -C "${DEST}" --strip-components=1
|
|
|
|
cp -r debian "${DEST}"
|
2016-05-25 08:23:45 +02:00
|
|
|
sed -i '/^\s*libxcb-xrm-dev/d' deb/ubuntu-*/DIST/debian/control || true
|
2016-03-27 21:11:30 +02:00
|
|
|
cd "${DEST}"
|
|
|
|
debchange -m -l+g$(git describe --tags) 'Automatically built'
|
|
|
|
dpkg-buildpackage -b
|