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

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