| version 1.20, 2000/10/28 15:59:52 |
version 1.23, 2004/02/23 00:09:30 |
|
|
| # $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.19 2000/09/21 08:06:40 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.22 2004/02/22 09:17:11 takayama Exp $ |
| # The FIRST part is a Makefile FOR COMMITTERS: it is used |
# The FIRST part is a Makefile FOR COMMITTERS: it is used |
| # to generate source and binary distributions of |
# to generate source and binary distributions of |
| # the OpenXM package on various operating systems. |
# the OpenXM package on various operating systems. |
|
|
| |
|
| ## For committers: prepare cvs-OpenXM under your search path |
## For committers: prepare cvs-OpenXM under your search path |
| ## to access to CVS servers. |
## to access to CVS servers. |
| RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/home/cvs |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
| ### cvs-OpenXM is the following shell script in my case. |
### cvs-OpenXM is the following shell script in my case. |
| ## #!/bin/sh |
## #!/bin/sh |
| ## CVS_RSH=ssh |
## CVS_RSH=ssh |
| Line 20 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/hom |
|
| Line 20 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/hom |
|
| ## Configurations. |
## Configurations. |
| ## OpenXM Version Number. |
## OpenXM Version Number. |
| PREFIX=/usr/local |
PREFIX=/usr/local |
| VERSION=1.1.3 |
VERSION=head |
| TAG=HEAD |
TAG=HEAD |
| FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
| |
|
| Line 77 usage : usage-of-real-make |
|
| Line 77 usage : usage-of-real-make |
|
| @echo -n "FTP_AREA is " |
@echo -n "FTP_AREA is " |
| @echo $(FTP_AREA) |
@echo $(FTP_AREA) |
| @echo " " |
@echo " " |
| |
@echo "A shell script cvs-OpenXM is necessary (write by yourself)" |
| |
@echo "under your search path." |
| |
|
| ### The SECOND part is a Makefile to build binaries from source. |
### The SECOND part is a Makefile to build binaries from source. |
| ### It only calls the Makefile at OpenXM/src. |
### It only calls the Makefile at OpenXM/src. |
|
|
| tar-ball: fetch build-tar-work |
tar-ball: fetch build-tar-work |
| @if [ ! -f ./.tar-ball_done ]; then \ |
@if [ ! -f ./.tar-ball_done ]; then \ |
| cp Makefile ${WORK}/Makefile ; \ |
cp Makefile ${WORK}/Makefile ; \ |
| (cd ${WORK}/OpenXM/src ; make generate-source-distribution) ; \ |
|
| (cd work ; tar czvf ${TAR_WORK}/openxm-${VERSION}.tar.gz openxm-${VERSION}) ; \ |
(cd work ; tar czvf ${TAR_WORK}/openxm-${VERSION}.tar.gz openxm-${VERSION}) ; \ |
| fi |
fi |
| touch ./.tar-ball_done |
touch ./.tar-ball_done |