1 | --- Makefile.orig Thu Nov 2 23:53:40 2006 |
---|
2 | +++ Makefile Thu Nov 2 23:57:08 2006 |
---|
3 | @@ -22,10 +22,13 @@ |
---|
4 | rpm_prefix=$(HOME)/rpmbuild/ |
---|
5 | prefix = /usr/local/ |
---|
6 | exec_prefix = $(prefix) |
---|
7 | +realprefix = $(prefix) |
---|
8 | # directory where `make install' will put executable. |
---|
9 | bindir = $(exec_prefix)bin/ |
---|
10 | libdir = $(exec_prefix)lib/ |
---|
11 | +reallibdir = $(realprefix)lib/ |
---|
12 | libslibdir = $(libdir)slib/ |
---|
13 | +reallibslibdir = $(reallibdir)slib/ |
---|
14 | # directory where `make install' will put manual page. |
---|
15 | mandir = $(prefix)man/ |
---|
16 | man1dir = $(mandir)man1/ |
---|
17 | @@ -38,6 +41,7 @@ |
---|
18 | RUNNABLE = scheme48 |
---|
19 | S48INIT = scheme48.init |
---|
20 | S48LIB = $(libdir)$(RUNNABLE)/ |
---|
21 | +S48REALLIB = $(reallibdir)$(RUNNABLE)/ |
---|
22 | S48SLIB = $(S48LIB)slib/ |
---|
23 | VM = scheme48vm |
---|
24 | IMAGE48 = slib.image |
---|
25 | @@ -185,10 +189,10 @@ |
---|
26 | -cp $(ifiles) $(sfiles) $(bfiles) $(mkfiles) clrnamdb.scm $(libslibdir) |
---|
27 | test -d $(bindir) || mkdir $(bindir) |
---|
28 | echo '#! /bin/sh' > $(bindir)slib |
---|
29 | - echo SCHEME_LIBRARY_PATH=$(libslibdir) >> $(bindir)slib |
---|
30 | + echo SCHEME_LIBRARY_PATH=$(reallibslibdir) >> $(bindir)slib |
---|
31 | echo export SCHEME_LIBRARY_PATH >> $(bindir)slib |
---|
32 | echo VERSION=$(VERSION) >> $(bindir)slib |
---|
33 | - echo "S48_VICINITY=\"$(S48LIB)\";export S48_VICINITY" >> $(bindir)slib |
---|
34 | + echo "S48_VICINITY=\"$(S48REALLIB)\";export S48_VICINITY" >> $(bindir)slib |
---|
35 | cat slib.sh >> $(bindir)slib |
---|
36 | chmod +x $(bindir)slib |
---|
37 | |
---|