You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
509 B
22 lines
509 B
#!/bin/sh
|
|
version=`head -1 debian/changelog | sed -r 's/.+\(([^)]+)\).+/\1/'`
|
|
tgt=_dist/adept-$version
|
|
wd="$(pwd)"
|
|
|
|
dir=`basename $(pwd)`
|
|
cd ..
|
|
|
|
rm -rf $tgt
|
|
mkdir -p $tgt
|
|
|
|
cp -a $dir/debian $tgt/
|
|
cp -a $dir $tgt/adept
|
|
cp -a admin $tgt/
|
|
cp configure.in.in Makefile.am.in $tgt/
|
|
(cd $tgt && patch -p1 < $wd/fix-autoconf.patch)
|
|
(cd $tgt && libtoolize --force)
|
|
cp -f /usr/share/aclocal/libtool.m4 $tgt/admin/libtool.m4.in
|
|
export UNSERMAKE=no
|
|
(cd $tgt && make -f admin/Makefile.common cvs)
|
|
(cd $tgt && debuild $@)
|