diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-11-02 08:29:05 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-11-02 08:29:05 +1000 |
commit | bbc8f736153012474f97f56c01332f12390abf28 (patch) | |
tree | 648df97ef5d4d9b3500c68a1d72d2888f6011520 | |
parent | 960fbf0c9b6cbea1980dc47167b191d6783376dd (diff) | |
download | jimtcl-bbc8f736153012474f97f56c01332f12390abf28.zip jimtcl-bbc8f736153012474f97f56c01332f12390abf28.tar.gz jimtcl-bbc8f736153012474f97f56c01332f12390abf28.tar.bz2 |
Fix 'make install' with no external extensions
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | README.extensions | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 450a448..7d20574 100644 --- a/Makefile.in +++ b/Makefile.in @@ -64,7 +64,7 @@ install: all docs $(EXTENSION_TCL) install $(JIMSH) $(DESTDIR)/bin install -d $(DESTDIR)/lib/jim install $(LIBJIM) $(DESTDIR)/lib - install $(EXTENSION_MODS) $(EXTENSION_TCL) $(DESTDIR)/lib/jim + install README.extensions $(EXTENSION_MODS) $(EXTENSION_TCL) $(DESTDIR)/lib/jim install -d $(DESTDIR)/include install @SRCDIR@/jim.h @SRCDIR@/jim-*.h $(DESTDIR)/include install jimautoconfext.h $(DESTDIR)/include/jimautoconf.h diff --git a/README.extensions b/README.extensions new file mode 100644 index 0000000..cf3dd37 --- /dev/null +++ b/README.extensions @@ -0,0 +1,12 @@ +The /lib/jim directory contains both dynamically loadable extensions +and pure-Tcl extensions. + +Dynamically loadable extensions must have a .so file extension +Tcl extensions must have a .tcl file extension + +As long as /lib/jim is in $::auto_path (it is by default), extension +abc can be loaded with: + + package require abc + +First abc.so will be tried, and then abc.tcl |