Fossil SCM
Adjusted the optional cscope feature so it collects symbols only from the src subdir, primarily to get the bld/* stuff out of the way.
Commit
b6cc6f680f49bdd3d650b86ac74e52ffc77e0836d1d2838db1eb88b14f30f08b
Parent
b0862611cc3574c…
1 file changed
+1
-1
M
auto.def
+1
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -51,11 +51,11 @@ | ||
| 51 | 51 | # Use pread/pwrite system calls in place of seek + read/write if possible |
| 52 | 52 | define USE_PREAD [cc-check-functions pread] |
| 53 | 53 | |
| 54 | 54 | # If we have cscope here, we'll use it in the "tags" target |
| 55 | 55 | if {[cc-check-progs cscope]} { |
| 56 | - define COLLECT_CSCOPE_DATA "cscope -bR -s$::autosetup(srcdir)/src" | |
| 56 | + define COLLECT_CSCOPE_DATA "cscope -bR $::autosetup(srcdir)/src/*.\[ch\]" | |
| 57 | 57 | } else { |
| 58 | 58 | define COLLECT_CSCOPE_DATA "" |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | # Find tclsh for the test suite. |
| 62 | 62 |
| --- auto.def | |
| +++ auto.def | |
| @@ -51,11 +51,11 @@ | |
| 51 | # Use pread/pwrite system calls in place of seek + read/write if possible |
| 52 | define USE_PREAD [cc-check-functions pread] |
| 53 | |
| 54 | # If we have cscope here, we'll use it in the "tags" target |
| 55 | if {[cc-check-progs cscope]} { |
| 56 | define COLLECT_CSCOPE_DATA "cscope -bR -s$::autosetup(srcdir)/src" |
| 57 | } else { |
| 58 | define COLLECT_CSCOPE_DATA "" |
| 59 | } |
| 60 | |
| 61 | # Find tclsh for the test suite. |
| 62 |
| --- auto.def | |
| +++ auto.def | |
| @@ -51,11 +51,11 @@ | |
| 51 | # Use pread/pwrite system calls in place of seek + read/write if possible |
| 52 | define USE_PREAD [cc-check-functions pread] |
| 53 | |
| 54 | # If we have cscope here, we'll use it in the "tags" target |
| 55 | if {[cc-check-progs cscope]} { |
| 56 | define COLLECT_CSCOPE_DATA "cscope -bR $::autosetup(srcdir)/src/*.\[ch\]" |
| 57 | } else { |
| 58 | define COLLECT_CSCOPE_DATA "" |
| 59 | } |
| 60 | |
| 61 | # Find tclsh for the test suite. |
| 62 |