mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
The src/shell.c file is now generated from src/shell.c.in, so remove shell.c
from version control and update the makefiles to build it automatically. FossilOrigin-Name: 36acc0a97fdcc6f54f29c68c4e131702f69c3e59e58237ff4e5c647928699956
This commit is contained in:
@ -1,11 +1,16 @@
|
||||
#!/usr/bin/tclsh
|
||||
#
|
||||
# Run this script to generate the "src/shell.c" source file from
|
||||
# Run this script to generate the "shell.c" source file from
|
||||
# constituent parts.
|
||||
#
|
||||
# No arguments are required. This script determines the location
|
||||
# of its input files relative to the location of the script itself.
|
||||
# This script should be tool/mkshellc.tcl. If the directory holding
|
||||
# the script is $DIR, then the component parts are located in $DIR/../src
|
||||
# and $DIR/../ext/misc.
|
||||
#
|
||||
set topdir [file dir [file dir [file normal $argv0]]]
|
||||
puts "Overwriting $topdir/src/shell.c with new shell source code..."
|
||||
set out [open $topdir/src/shell.c wb]
|
||||
set out stdout
|
||||
puts $out {/* DO NOT EDIT!
|
||||
** This file is automatically generated by the script in the canonical
|
||||
** SQLite source tree at tool/mkshellc.tcl. That script combines source
|
||||
|
Reference in New Issue
Block a user