=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.5 diff -u -p -r1.1.1.1 -r1.5 --- OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile 2000/03/02 10:32:39 1.1.1.1 +++ OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile 2000/03/04 04:32:26 1.5 @@ -1,11 +1,23 @@ -# $OpenXM$ +# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.4 2000/03/04 04:13:00 takayama Exp $ +### NOTE for committers. +### How to generate openxm-1.1.2.tar.gz (the tar ball of source code)? +### How to generate openxm-port.tar.gz (the tar ball of the port for openxm)? +### make make-tar-ball +### Then, the two tar balls are generated under $HOME/tmp +### +### How to test the port system? +### cd /usr/ports/math ; tar xzvf $HOME/tmp/openxm-port.tar.gz +### cp $HOME/tmp/openxm-1.1.2.tar.gz /usr/ports/distfiles +### cd /usr/ports/math/openxm ; make install +### [Try also make package , pkg_delete openxm-1.1.2 , +### pkg_add openxm-1.1.2.tgz] + # Modify this. OpenXM_TOP=$(HOME) # Modify this. It's for committters. RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs -PREFIX=/usr/local srcdir = . prefix=${PREFIX} MAN_DIR=${prefix}/man/man1 @@ -14,6 +26,8 @@ OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/as usage: @echo "Targets are all, install, clean, distclean" + @echo "You need to specify the PREFIX to install," + @echo "e.g., make install PREFIX=/usr/local" @echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM" @echo " generate-symbolic-links, clean-this-directory" @echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp" @@ -46,10 +60,18 @@ make-tar-ball : $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2 rm -f *~ echo "Creating a tar ball under ~/tmp/" - cd .. - tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2 - cd openxm-1.1.2 + (cd .. ; tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2) + rm -rf openxm + mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm + tar czf $(HOME)/tmp/openxm-port.tar.gz openxm +make-tar-ball-for-openxm-port: + rm -rf openxm + rm -rf OpenXM/misc/packages/FreeBSD + $(RCVS) export -rHEAD OpenXM/misc/packages/FreeBSD + mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm + tar czf $(HOME)/tmp/openxm-port.tar.gz openxm + make-tar-ball-from-local-OpenXM : rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf - @@ -67,4 +89,4 @@ generate-symbolic-links : clean-this-directory: - /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~ + /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~ openxm