/ Check-in [5a037ac2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Attempting to fix the source-id generator so that it works for out-of-tree builds.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mksourceid
Files: files | file ages | folders
SHA3-256: 5a037ac2da7449be3e26c36910ac5d865d7e74d3c25af0a10578c1f92fe2afea
User & Date: drh 2017-08-22 19:43:41
Context
2017-08-22
19:49
Trying again to get out-of-tree builds to work correctly. Closed-Leaf check-in: a1b3337e user: drh tags: mksourceid
19:44
mksourceid still does not work right. Leaf check-in: ca5dcb4a user: drh tags: mistake
19:43
Attempting to fix the source-id generator so that it works for out-of-tree builds. check-in: 5a037ac2 user: drh tags: mksourceid
19:19
Add the "mksourceid" program to the build process. That program changes the SQLITE_SOURCE_ID if the source tree has been modified in any way. check-in: d4c05e04 user: drh tags: mksourceid
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mksqlite3h.tcl.

    49     49   set in [open $TOP/VERSION]
    50     50   set zVersion [string trim [read $in]]
    51     51   close $in
    52     52   set nVersion [eval format "%d%03d%03d" [split $zVersion .]]
    53     53   
    54     54   # Get the source-id
    55     55   #
    56         -set zSourceId [exec ./mksourceid $TOP/manifest]
           56  +set PWD [pwd]
           57  +cd $TOP
           58  +set zSourceId [exec ./mksourceid manifest]
           59  +cd $PWD
    57     60   
    58     61   # Set up patterns for recognizing API declarations.
    59     62   #
    60     63   set varpattern {^[a-zA-Z][a-zA-Z_0-9 *]+sqlite3_[_a-zA-Z0-9]+(\[|;| =)}
    61     64   set declpattern1 {^ *([a-zA-Z][a-zA-Z_0-9 ]+ \**)(sqlite3_[_a-zA-Z0-9]+)(\(.*)$}
    62     65   
    63     66   set declpattern2 \