On 15/07/2011, at 5:30 AM, Jie Zhang wrote: > On Thu, Jul 14, 2011 at 12:07 PM, Jie Zhang <jzhang...@gmail.com> wrote: >> On Thu, Jul 14, 2011 at 6:17 AM, Steve Bennett <ste...@workware.net.au> >> wrote: >>> On 14/07/2011, at 7:19 PM, Spencer Oliver wrote: >>>> This is why i mentioned before about adding a configure option to >>>> jimtcl, something like --noinstall >>> >>> It seems weird to have a configure option which causes 'make install' >>> to not install. Seems like it will just confuse other users of jimtcl. >>> >> Maybe with a clear help documentation and a good default setting, it >> will not be so confusing. I think we can have >> --disable-install-jimtcl, default off, i.e, --enable-install-jimtcl, >> for jimtcl. Then turn it on in OpenOCD. The help documentation could >> be >> >> --disable-install-jimtcl controls installation of jimctl and related >> headers. >> usually used when jimctl is embeded in >> another program. >> >> I'm also wondering if it's a good idea to make jimtcl use automake, >> which should make implementing this easier. >> > Jim uses autosetup instead of autoconf. So it does not make much sense > to use automake. > > Anyway I think Spencer's idea about adding a configure option to > disable Jim installation is good. So I implemented it. I change the > option name to "--disable-install-jim" to save 3 characters. > > Three patches are attached: > > jim-configure-disable-install.diff is for upstream Jim > openocd-jim-configure-disable-install.diff is for Jim in OpenOCD > openocd-dont-install-jimtcl.diff makes OpenOCD to use the new added > configure option.
If there is no way to make automake do this then I guess we have no choice. I have pushed something similar to git. Cheers, Steve > > Regards, > Jie > <jim-configure-disable-install.diff><openocd-jim-configure-disable-install.diff><openocd-disable-install-jim.diff> -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development