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

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
3SHELL=/bin/sh
4
5dist:
6
7prepare:
8        rm -f config.sh
9        ./Configure -d -s -e -Dprefix=/usr/athena -Dcc="$$COMPILER" \
10                -Dperladmin=bugs@mit.edu
11
12clean:
13        ${MAKE} clean
14
15all:
16        ${MAKE} depend
17        ${MAKE} all
18
19check:
20        PERL_SKIP_TTY_TEST=true ${MAKE} check
21
22install:
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.