Revision 14497,
651 bytes
checked in by ghudson, 24 years ago
(diff) |
Support new "dist" operation.
|
Rev | Line | |
---|
[14497] | 1 | # $Id: Makefile.athena,v 1.12 2000-03-29 20:53:19 ghudson Exp $ |
---|
[9152] | 2 | |
---|
| 3 | SHELL=/bin/sh |
---|
| 4 | |
---|
[14497] | 5 | dist: |
---|
| 6 | |
---|
[9372] | 7 | prepare: |
---|
[9152] | 8 | rm -f config.sh |
---|
[10992] | 9 | ./Configure -ds -E -Dprefix=/usr/athena -Dcc="$$COMPILER" \ |
---|
[10733] | 10 | -Dperladmin=bugs@mit.edu |
---|
| 11 | ./Configure -S |
---|
[9152] | 12 | |
---|
| 13 | clean: |
---|
| 14 | ${MAKE} clean |
---|
| 15 | |
---|
| 16 | all: |
---|
[9268] | 17 | ${MAKE} depend |
---|
| 18 | ${MAKE} all |
---|
[9152] | 19 | |
---|
| 20 | check: |
---|
[10863] | 21 | PERL_SKIP_TTY_TEST=true ${MAKE} check |
---|
[9152] | 22 | |
---|
| 23 | install: |
---|
| 24 | ${MAKE} install "DESTDIR=$$SRVD" |
---|
[13574] | 25 | sed -e '/^chdir/d' -e "s:/usr:$$SRVD/usr:" \ |
---|
| 26 | -e "s:\$$Config{install:\"$$SRVD\"\.\$$Config{install:" \ |
---|
[13843] | 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.