diff --git a/autogen.sh b/autogen.sh --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,17 @@ #!/bin/sh -e -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. + +rm -R .hg +rm .hgignore +cd ../ +cp -R lppserial lppserial-1.0.orig +mv lppserial lppserial-1.0 +tar czvf lppserial_1.0.orig.tar.gz lppserial-1.0.orig -autoreconf --force --install --verbose "$srcdir" -test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" +cd lppserial-1.0 + +libtoolize +autoreconf +automake -a +autoreconf +automake -a +./configure