Commit ea8f39aa authored by sten's avatar sten

integrate normal, and debian source building into one script

parent 9f61ae69
#!/bin/sh
#!/bin/bash
BASE=$(pwd)
RELEASE="${BASE}/release"
# prepare
svn -q up
svn log | ./scripts/gnuify-changelog.pl > doc/ChangeLog
svn log | ${BASE}/scripts/gnuify-changelog.pl > ${BASE}/doc/ChangeLog
autoreconf -fi
# create release dir
[ -d ${RELEASE} ] && rm -rf ${RELEASE}
mkdir -p ${RELEASE}/debian
# create dist tarball
./configure
make distcheck
mv *tar.gz ${RELEASE}
# create debian sources
cd ${RELEASE}/debian
tar xf ../*tar.gz
cd ladvd-*
dpkg-buildpackage -S
cd ${RELEASE}/debian
rm -rf ladvd-*
cd ${BASE}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment