=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Generic/openxm/Makefile,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- OpenXM/misc/packages/Generic/openxm/Makefile 2000/03/05 02:26:31 1.1 +++ OpenXM/misc/packages/Generic/openxm/Makefile 2000/03/05 06:11:56 1.3 @@ -1,17 +1,22 @@ -# $OpenXM$ +# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.2 2000/03/05 02:29:51 takayama Exp $ # This is a Makefile to generate source and binary distributions of -# the OpenXM package on various plathome. +# the OpenXM package on various plathomes. ## For committers: prepare mycvs under your search path ## to access to CVS servers. RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs TYPE=`uname -s`-`uname -m` +## OpenXM Version Number. +VERSION=1.1.2 + RELEASE= ## If you like to have a release name as a part of tar ball, then uncomment ## the next line. ##RELEASE=`uname -a` +BINARY_TAR_BALL_FOR_FREE_BSD=./work/OpenXM-binary-FreeBSD-i386.tgz + usage : @echo "Targets are " @echo " fetch : get the sources from the cvs server under work" @@ -47,13 +52,13 @@ make-binary-tar-ball : make-tar-ball-01 (cd work/OpenXM/src ; make distclean ) make-binary-tar-ball-using-binary-FreeBSD : - @if [ ! -f ./work/OpenXM-binary-FreeBSD-i386.tgz ]; then \ - echo "Generate work/OpenXM-binary-FreeBSD-i386.tgz first" ; \ + @if [ ! -f $(BINARY_TAR_BALL_FOR_FREE_BSD) ]; then \ + echo "Generate $BINARY_TAR_BALL_FOR_FREE_BSD first" ; \ exit \ fi /bin/rm -rf 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/OpenXM/src ; make binary-dist ) (cd work ; tar czf - OpenXM/bin OpenXM/lib OpenXM/rc ) | (cd work/binary-$(TYPE) ; tar xzf - ) @@ -61,5 +66,5 @@ make-binary-tar-ball-using-binary-FreeBSD : (cd work/OpenXM/src ; make distclean ) clean : - /bin/rm -rf .*_done + /bin/rm -rf .*_done *~ /bin/rm -rf work