source: trunk/third/perl/Makefile.athena @ 13843

Revision 13843, 639 bytes checked in by tb, 25 years ago (diff)
Cope correctly if we are not building in the same directory as we prepared, in the install step.
Line 
1# $Id: Makefile.athena,v 1.11 1999-11-03 20:05:48 tb Exp $
2
3SHELL=/bin/sh
4
5prepare:
6        rm -f config.sh
7        ./Configure -ds -E -Dprefix=/usr/athena -Dcc="$$COMPILER" \
8                -Dperladmin=bugs@mit.edu
9        ./Configure -S
10
11clean:
12        ${MAKE} clean
13
14all:
15        ${MAKE} depend
16        ${MAKE} all
17
18check:
19        PERL_SKIP_TTY_TEST=true ${MAKE} check
20
21install:
22        ${MAKE} install "DESTDIR=$$SRVD"
23        sed -e '/^chdir/d' -e "s:/usr:$$SRVD/usr:" \
24         -e "s:\$$Config{install:\"$$SRVD\"\.\$$Config{install:" \
25         utils/h2ph > h2phsrvd
26        chmod 755 h2phsrvd
27        dir=`pwd`; (cd /usr/include && find . -type f -print | xargs \
28         "$$dir/perl" "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd"); \
29
Note: See TracBrowser for help on using the repository browser.