version 1.3, 2000/03/05 06:11:56 |
version 1.6, 2000/03/06 09:01:09 |
|
|
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.2 2000/03/05 02:29:51 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.5 2000/03/06 08:22:37 takayama Exp $ |
# This is a Makefile to generate source and binary distributions of |
# This is a Makefile to generate source and binary distributions of |
# the OpenXM package on various plathomes. |
# the OpenXM package on various plathomes. |
|
|
## For committers: prepare mycvs under your search path |
## For committers: prepare cvs-OpenXM under your search path |
## to access to CVS servers. |
## to access to CVS servers. |
RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
|
### cvs-OpenXM is the following shell script |
|
## #!/bin/sh |
|
## CVS_RSH=ssh |
|
## export CVS_RSH |
|
## cvs $* |
|
|
TYPE=`uname -s`-`uname -m` |
TYPE=`uname -s`-`uname -m` |
|
|
## OpenXM Version Number. |
## OpenXM Version Number. |
|
|
|
|
make-tar-ball: fetch |
make-tar-ball: fetch |
(cd work/OpenXM/src ; make generate-source-distribution) |
(cd work/OpenXM/src ; make generate-source-distribution) |
(cd work ; tar czvf OpenXM-source.tgz OpenXM OpenXM_Contrib OpenXM_contrib2 ) |
(cd work ; tar czvf OpenXM-source.tgz OpenXM OpenXM_contrib OpenXM_contrib2 ) |
|
|
make-tar-ball-01: fetch |
make-tar-ball-01: fetch |
@if [ ! -f ./.make-tar-ball-01_done ]; then \ |
@if [ ! -f ./.make-tar-ball-01_done ]; then \ |
(cd work/OpenXM/src ; make generate-source-distribution) ; \ |
(cd work/OpenXM/src ; make generate-source-distribution) ; \ |
(cd work ; tar czvf OpenXM-source-01.tgz OpenXM OpenXM_Contrib ) ; \ |
(cd work ; tar czvf OpenXM-source-01.tgz OpenXM OpenXM_contrib ) ; \ |
fi |
fi |
@touch ./.make-tar-ball-01_done |
@touch ./.make-tar-ball-01_done |
|
|
make-binary-tar-ball : make-tar-ball-01 |
make-binary-tar-ball : make-tar-ball-01 |
(cd work/OpenXM/src ; make binary-dist ) |
(cd work/OpenXM/src ; make configure; make install ; make binary-dist ) |
(cd work ; tar czf work/OpenXM-binary-$(TYPE)$(RELEASE).tgz OpenXM/Copyright OpenXM/bin OpenXM/doc OpenXM/include OpenXM/lib OpenXM/man OpenXM/rc OpenXM/install.txt) |
(cd work ; tar czf OpenXM-binary-$(TYPE)$(RELEASE).tgz OpenXM/Copyright OpenXM/bin OpenXM/doc OpenXM/include OpenXM/lib OpenXM/man OpenXM/rc OpenXM/install.txt) |
(cd work/OpenXM/src ; make distclean ) |
(cd work/OpenXM/src ; make distclean ) |
|
|
make-binary-tar-ball-using-binary-FreeBSD : |
make-binary-tar-ball-using-binary-FreeBSD : |
Line 60 make-binary-tar-ball-using-binary-FreeBSD : |
|
Line 66 make-binary-tar-ball-using-binary-FreeBSD : |
|
mkdir work/binary-$(TYPE) |
mkdir work/binary-$(TYPE) |
tar xzf - $(BINARY_TAR_BALL_FOR_FREE_BSD) | (cd work/binary-$(TYPE) ; tar xzf - ) |
tar xzf - $(BINARY_TAR_BALL_FOR_FREE_BSD) | (cd work/binary-$(TYPE) ; tar xzf - ) |
(cd work/binary-$(TYPE) ; /bin/rm -rf OpenXM/bin ) |
(cd work/binary-$(TYPE) ; /bin/rm -rf OpenXM/bin ) |
(cd work/OpenXM/src ; make binary-dist ) |
(cd work/OpenXM/src ; make configure; make install; make binary-dist ) |
(cd work ; tar czf - OpenXM/bin OpenXM/lib OpenXM/rc ) | (cd work/binary-$(TYPE) ; tar xzf - ) |
(cd work ; tar czf - OpenXM/bin OpenXM/lib OpenXM/rc ) | (cd work/binary-$(TYPE) ; tar xzf - ) |
(cd work ; tar czf work/OpenXM-binary-$(TYPE)$(RELEASE).tgz OpenXM/Copyright OpenXM/bin OpenXM/doc OpenXM/include OpenXM/lib OpenXM/man OpenXM/rc OpenXM/install.txt) |
(cd work/binary-$(TYPE) ; tar czf ../OpenXM-binary-$(TYPE)$(RELEASE).tgz OpenXM/Copyright OpenXM/bin OpenXM/doc OpenXM/include OpenXM/lib OpenXM/man OpenXM/rc OpenXM/install.txt) |
(cd work/OpenXM/src ; make distclean ) |
(cd work/OpenXM/src ; make distclean ) |
|
|
clean : |
clean : |