version 1.1, 2000/03/05 02:26:31 |
version 1.2, 2000/03/05 02:29:51 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.1 2000/03/05 02:26:31 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 plathome. |
# the OpenXM package on various plathome. |
|
|
|
|
## the next line. |
## the next line. |
##RELEASE=`uname -a` |
##RELEASE=`uname -a` |
|
|
|
BINARY_TAR_BALL_FOR_FREE_BSD=./work/OpenXM-binary-FreeBSD-i386.tgz |
|
|
usage : |
usage : |
@echo "Targets are " |
@echo "Targets are " |
@echo " fetch : get the sources from the cvs server under work" |
@echo " fetch : get the sources from the cvs server under work" |
Line 47 make-binary-tar-ball : make-tar-ball-01 |
|
Line 49 make-binary-tar-ball : make-tar-ball-01 |
|
(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 : |
@if [ ! -f ./work/OpenXM-binary-FreeBSD-i386.tgz ]; then \ |
@if [ ! -f $(BINARY_TAR_BALL_FOR_FREE_BSD) ]; then \ |
echo "Generate work/OpenXM-binary-FreeBSD-i386.tgz first" ; \ |
echo "Generate $BINARY_TAR_BALL_FOR_FREE_BSD first" ; \ |
exit \ |
exit \ |
fi |
fi |
/bin/rm -rf work/binary-$(TYPE) |
/bin/rm -rf work/binary-$(TYPE) |
mkdir work/binary-$(TYPE) |
mkdir work/binary-$(TYPE) |
(cd work/binary-$(TYPE) ; tar xzf ../OpenXM-binary-FreeBSD-i386.tgz ) |
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 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 - ) |