version 1.21, 2003/02/22 06:32:02 |
version 1.24, 2005/04/15 01:41:13 |
|
|
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.20 2000/10/28 15:59:52 maekawa Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.23 2004/02/23 00:09:30 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.2.1 |
VERSION=head |
TAG=HEAD |
TAG=HEAD |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
|
|
|
OpenXM_contrib_files=OpenXM_contrib/uuencoded OpenXM_contrib/pari |
|
|
RELEASE= |
RELEASE= |
## If you like to have a release name as a part of tar ball, then uncomment |
## If you like to have a release name as a part of tar ball, then uncomment |
## the next line. |
## the next line. |
Line 155 clean-installed-openxm: |
|
Line 157 clean-installed-openxm: |
|
fetch : |
fetch : |
@if [ ! -f ./.fetch_done ]; then \ |
@if [ ! -f ./.fetch_done ]; then \ |
/bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \ |
/bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \ |
( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM OpenXM_contrib OpenXM_contrib2) ; \ |
( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM ${OpenXM_contrib_files} OpenXM_contrib2) ; \ |
cp Makefile ${WORK}/Makefile ; \ |
cp Makefile ${WORK}/Makefile ; \ |
fi |
fi |
@touch ./.fetch_done |
@touch ./.fetch_done |
|
|
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 |