Revision 11033,
777 bytes
checked in by ghudson, 26 years ago
(diff) |
Remove a redundant slash in the sed substitution for making h2phsrvd.
Run h2phsrvd with an include path so perl can find its libraries.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.7 1998-01-14 17:08:04 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | prepare: |
---|
6 | rm -f config.sh |
---|
7 | ./Configure -ds -E -Dprefix=/usr/athena -Dcc="$$COMPILER" \ |
---|
8 | -Dperladmin=bugs@mit.edu |
---|
9 | sed -e "s,^install\(.*\)=',install\1='$$SRVD," \ |
---|
10 | config.sh > config.sh.new |
---|
11 | mv config.sh.new config.sh |
---|
12 | ./Configure -S |
---|
13 | |
---|
14 | clean: |
---|
15 | ${MAKE} clean |
---|
16 | |
---|
17 | all: |
---|
18 | ${MAKE} depend |
---|
19 | ${MAKE} all |
---|
20 | |
---|
21 | check: |
---|
22 | PERL_SKIP_TTY_TEST=true ${MAKE} check |
---|
23 | |
---|
24 | install: |
---|
25 | ${MAKE} install "DESTDIR=$$SRVD" |
---|
26 | dir=`pwd`; \ |
---|
27 | sed -e '/^chdir/d' -e "s:/usr:$$SRVD/usr:" utils/h2ph > h2phsrvd; \ |
---|
28 | chmod 755 h2phsrvd; \ |
---|
29 | (cd /os/usr/include && "$$dir/perl" \ |
---|
30 | "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd" * */*); \ |
---|
31 | (cd "$$SRVD/usr/athena/include"; "$$dir/perl" \ |
---|
32 | "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd" * */*) |
---|
Note: See
TracBrowser
for help on using the repository browser.