#!/bin/sh
-# $Id: buildconf.sh,v 1.9 2002-03-06 01:38:51 adam Exp $
-aclocal
-libtoolize --automake --force || exit 2
-automake -a || exit 3
-autoconf || exit 4
+# $Id: buildconf.sh,v 1.18 2004-02-17 10:29:51 adam Exp $
+set -x
+aclocal
+libtoolize --automake --force
+automake --add-missing
+automake --add-missing
+autoconf
if [ -f config.cache ]; then
rm config.cache
fi
-util/cvs-date.tcl include/yaz/yaz-date.h
+
+MESSAGE="
+
+Build the Makefiles with the configure command.
+ ./configure [--someoption=somevalue ...]
+
+For help on options or configuring run
+ ./configure --help
+
+Build and install binaries with the usual
+ make
+ make check
+ make install
+
+Build distribution tarball with
+ make dist
+
+Verify distribution tarball with
+ make distcheck
+
+Or just build the Debian packages without configuring
+ dpkg-buildpackage -rfakeroot
+
+When building from a CVS checkout, you need these Debian tools:
+ bison, docbook-utils, docbook, docbook-xml, docbook-dsssl, jade, jadetex,
+ libxml2-dev, libssl-dev, libreadline4-dev, libwrap0-dev, any tcl
+"