#!/bin/sh
# This script is used to build the amalgamation autoconf package.
# It assumes the following:
#
# 1. The files "sqlite3.c", "sqlite3.h", "sqlite3ext.h", "shell.c",
# and "sqlite3rc.h" are available in the current directory.
#
# 2. Variable $TOP is set to the full path of the root directory
# of the SQLite source tree.
#
# 3. There is nothing of value in the ./mkpkg_tmp_dir directory.
# This is important, as the script executes "rm -rf ./mkpkg_tmp_dir".
#
# Bail out of the script if any command returns a non-zero exit
# status. Or if the script tries to use an unset variable. These
# may fail for old /bin/sh interpreters.
#
TMPSPACE=./mkpkg_tmp_dir
VERSION=
HASH=
DATETIME=
# If this script is given an argument of --snapshot, then generate a
# snapshot tarball named for the current checkout SHA1 hash, rather than
# the version number.
#
if
then
# Set global variable $ARTIFACT to the "3xxyyzz" string incorporated
# into artifact filenames. And $VERSION2 to the "3.x.y[.z]" form.
xx=
yy=
zz=0
zz=
TARBALLNAME=
else
TARBALLNAME=sqlite-snapshot-
fi
|
#libtoolize
#aclocal
#autoconf
#automake --add-missing
|
&&