Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: third_party/sqlite/sqlite-src-3100200/tool/mkautoconfamal.sh

Issue 2846743003: [sql] Remove SQLite 3.10.2 reference directory. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/sqlite-src-3100200/tool/mkautoconfamal.sh
diff --git a/third_party/sqlite/sqlite-src-3100200/tool/mkautoconfamal.sh b/third_party/sqlite/sqlite-src-3100200/tool/mkautoconfamal.sh
deleted file mode 100644
index 9f44152e36a669588c073fe805b473b8e9846de9..0000000000000000000000000000000000000000
--- a/third_party/sqlite/sqlite-src-3100200/tool/mkautoconfamal.sh
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-# This script is used to build the amalgamation autoconf package.
-# It assumes the following:
-#
-# 1. The files "sqlite3.c", "sqlite3.h" and "sqlite3ext.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.
-#
-set -e
-set -u
-
-TMPSPACE=./mkpkg_tmp_dir
-VERSION=`cat $TOP/VERSION`
-
-# Set global variable $ARTIFACT to the "3xxyyzz" string incorporated
-# into artifact filenames. And $VERSION2 to the "3.x.y[.z]" form.
-xx=`echo $VERSION|sed 's/3\.\([0-9]*\)\..*/\1/'`
-yy=`echo $VERSION|sed 's/3\.[^.]*\.\([0-9]*\).*/\1/'`
-zz=0
-set +e
- zz=`echo $VERSION|sed 's/3\.[^.]*\.[^.]*\.\([0-9]*\).*/\1/'|grep -v '\.'`
-set -e
-ARTIFACT=`printf "3%.2d%.2d%.2d" $xx $yy $zz`
-
-rm -rf $TMPSPACE
-cp -R $TOP/autoconf $TMPSPACE
-
-cp sqlite3.c $TMPSPACE
-cp sqlite3.h $TMPSPACE
-cp sqlite3ext.h $TMPSPACE
-cp $TOP/sqlite3.1 $TMPSPACE
-cp $TOP/sqlite3.pc.in $TMPSPACE
-cp $TOP/src/shell.c $TMPSPACE
-
-cat $TMPSPACE/configure.ac |
-sed "s/--SQLITE-VERSION--/$VERSION/" > $TMPSPACE/tmp
-mv $TMPSPACE/tmp $TMPSPACE/configure.ac
-
-cd $TMPSPACE
-autoreconf -i
-#libtoolize
-#aclocal
-#autoconf
-#automake --add-missing
-
-mkdir -p tea/generic
-echo "#ifdef USE_SYSTEM_SQLITE" > tea/generic/tclsqlite3.c
-echo "# include <sqlite3.h>" >> tea/generic/tclsqlite3.c
-echo "#else" >> tea/generic/tclsqlite3.c
-echo "#include \"sqlite3.c\"" >> tea/generic/tclsqlite3.c
-echo "#endif" >> tea/generic/tclsqlite3.c
-cat $TOP/src/tclsqlite.c >> tea/generic/tclsqlite3.c
-
-cat tea/configure.ac |
- sed "s/AC_INIT(\[sqlite\], .*)/AC_INIT([sqlite], [$VERSION])/" > tmp
-mv tmp tea/configure.ac
-
-cd tea
-autoconf
-rm -rf autom4te.cache
-
-cd ../
-./configure && make dist
-tar -xzf sqlite-$VERSION.tar.gz
-mv sqlite-$VERSION sqlite-autoconf-$ARTIFACT
-tar -czf sqlite-autoconf-$ARTIFACT.tar.gz sqlite-autoconf-$ARTIFACT
-mv sqlite-autoconf-$ARTIFACT.tar.gz ..
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/tool/logest.c ('k') | third_party/sqlite/sqlite-src-3100200/tool/mkkeywordhash.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698