diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-12-10 16:27:00 +0100 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-12-11 21:59:46 +1000 |
commit | a2816313da54dcadcdb8eecb3875fcc7373432ea (patch) | |
tree | 9e9232c3357e24671400db4d80d476fd9faeb62b /sqlite3/jim-sqlite3.c | |
parent | d224c9a2b7b20e8ad13a6b1406acdd156f180dff (diff) | |
download | jimtcl-a2816313da54dcadcdb8eecb3875fcc7373432ea.zip jimtcl-a2816313da54dcadcdb8eecb3875fcc7373432ea.tar.gz jimtcl-a2816313da54dcadcdb8eecb3875fcc7373432ea.tar.bz2 |
autosetup: keep clean the source tree on out-of-tree build
If the build host doesn't have neither jimsh nor tclsh installed,
during 'configure' the autosetup will build 'autosetup/jimsh0'
inside the source tree. This happens also when out-of-tree build
is used.
Making dirty the source tree during out-of-tree build causes
applications that use jimtcl as submodule (e.g. OpenOCD) to fail
at 'make distcheck'.
Modify 'autosetup-find-tclsh' to build 'jimsh0' in the current
folder. For jimtcl project it would be the root of the source tree
or the root of the out-of-tree build.
Update 'Makefile.in' to search for 'jimsh0' in the new path during
'distclean'.
Reported-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'sqlite3/jim-sqlite3.c')
0 files changed, 0 insertions, 0 deletions