/ Check-in [a1b3337e]
Login

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

Overview
Comment:Trying again to get out-of-tree builds to work correctly.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mksourceid
Files: files | file ages | folders
SHA3-256:a1b3337e949fc431e19a3d977d07a312bb253ab7fec6811c0221abd514985d55
User & Date: drh 2017-08-22 19:49:34
Context
2017-08-22
19:54
Modify the SQLITE_SOURCE_ID if the source code has changed in any way since the previous check-in. check-in: 515d6a83 user: drh tags: trunk
19:49
Trying again to get out-of-tree builds to work correctly. Closed-Leaf check-in: a1b3337e user: drh tags: mksourceid
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
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mksqlite3h.tcl.

    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     56   set PWD [pwd]
    57     57   cd $TOP
    58         -set zSourceId [exec ./mksourceid manifest]
           58  +set zSourceId [exec $PWD/mksourceid manifest]
    59     59   cd $PWD
    60     60   
    61     61   # Set up patterns for recognizing API declarations.
    62     62   #
    63     63   set varpattern {^[a-zA-Z][a-zA-Z_0-9 *]+sqlite3_[_a-zA-Z0-9]+(\[|;| =)}
    64     64   set declpattern1 {^ *([a-zA-Z][a-zA-Z_0-9 ]+ \**)(sqlite3_[_a-zA-Z0-9]+)(\(.*)$}
    65     65