diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2002-02-05 09:14:26 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2002-02-05 09:14:26 +0000 |
commit | 3ac1e90a7c392d6c7c29b33d5fd45a635a969e90 (patch) | |
tree | ce79ec4bf30e430d8a804d4e47d67924f896b0b8 /devel | |
parent | 9c8d9ff91951626dd38c2e3c356610fafd172242 (diff) | |
download | guile-3ac1e90a7c392d6c7c29b33d5fd45a635a969e90.tar.gz |
Initial revision
Diffstat (limited to 'devel')
-rw-r--r-- | devel/build/pre-inst-guile.text | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/build/pre-inst-guile.text b/devel/build/pre-inst-guile.text new file mode 100644 index 000000000..5e9a24b37 --- /dev/null +++ b/devel/build/pre-inst-guile.text @@ -0,0 +1,47 @@ +THEORY + + The pre-installed guile interpreter can be used if has access to + the proper shared libraries and scheme modules, which can be + arranged by tweaking GUILE_LOAD_PATH and LTDL_LIBRARY_PATH env + vars, respectively. + + +GENERAL PRACTICE + + To invoke the guile interpreter before installing it (and its + support files), call ${top_srcdir}/pre-inst-guile w/ first arg + ${top_builddir}, where you would normally call guile. + + Similarly, for scripts/* (normally found by guile-tools), set + env var GUILE to the above combination. + + See commentary in ${top_srcdir}/pre-inst-guile for more info. + + +SPECIFIC PRACTICE + + Include the following line in any Makefile.am with rules that + need to call the pre-installed guile interpreter: + + include $(top_srcdir)/pre-inst-guile.am + + This causes Automake to include a makefile fragment that defines + two vars: `preinstguile' and `preinstguiletool'. The following + examples show how these vars are used: + + display-sum5: + $(preinstguile) -c '(display (+ 1 2 3 4 5))' + + display-deps-dotty: + $(preinstguiletool)/use2dot *.scm + + Note the particular syntax of `preinstguiletool' usage. + + +KNOWN USAGE + + check-guile.in + doc/ref/Makefile.am + libguile/Makefile.am + ice-9/Makefile.am + scripts/Makefile.am |