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

Revision 13574, 654 bytes checked in by mwhitson, 25 years ago (diff)
Install a sane Config.pm without references to $DESTDIR; move DESTDIR support into installperl, installman, and h2phsrvd.
Line 
1# $Id: Makefile.athena,v 1.10 1999-09-15 20:32:26 mwhitson 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        dir=`pwd`; \
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        (cd /os/usr/include && find . -type f -print | xargs \
29         "$$dir/perl" "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd"); \
Note: See TracBrowser for help on using the repository browser.