Revision 14593,
637 bytes
checked in by ghudson, 24 years ago
(diff) |
Since we're not editing config.sh, we can configure all in one step.
This works around a bug where ./Configure -S dies if we don't have a
tty.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.13 2000-04-11 22:44:11 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | dist: |
---|
6 | |
---|
7 | prepare: |
---|
8 | rm -f config.sh |
---|
9 | ./Configure -d -s -e -Dprefix=/usr/athena -Dcc="$$COMPILER" \ |
---|
10 | -Dperladmin=bugs@mit.edu |
---|
11 | |
---|
12 | clean: |
---|
13 | ${MAKE} clean |
---|
14 | |
---|
15 | all: |
---|
16 | ${MAKE} depend |
---|
17 | ${MAKE} all |
---|
18 | |
---|
19 | check: |
---|
20 | PERL_SKIP_TTY_TEST=true ${MAKE} check |
---|
21 | |
---|
22 | install: |
---|
23 | ${MAKE} install "DESTDIR=$$SRVD" |
---|
24 | sed -e '/^chdir/d' -e "s:/usr:$$SRVD/usr:" \ |
---|
25 | -e "s:\$$Config{install:\"$$SRVD\"\.\$$Config{install:" \ |
---|
26 | utils/h2ph > h2phsrvd |
---|
27 | chmod 755 h2phsrvd |
---|
28 | dir=`pwd`; (cd /usr/include && find . -type f -print | xargs \ |
---|
29 | "$$dir/perl" "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd"); \ |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.