Annotation of OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile, Revision 1.3
1.3 ! takayama 1: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.2 2000/03/03 05:13:26 takayama Exp $
1.1 takayama 2:
3: # Modify this.
4: OpenXM_TOP=$(HOME)
5: # Modify this. It's for committters.
6: RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs
7:
8: srcdir = .
9: prefix=${PREFIX}
10: MAN_DIR=${prefix}/man/man1
11:
12: OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/asir/asir ox_sm1 oxlog oxweave sm1 tigers
13:
14: usage:
15: @echo "Targets are all, install, clean, distclean"
1.2 takayama 16: @echo "You need to specify the PREFIX to install,"
17: @echo "e.g., make install PREFIX=/usr/local"
1.1 takayama 18: @echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM"
19: @echo " generate-symbolic-links, clean-this-directory"
20: @echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp"
21:
22: configure :
23: (cd $(srcdir)/OpenXM/src ; make configure )
24:
25: all : configure
26: # (cd $(srcdir)/OpenXM/src ; make ; make install)
27: (cd $(srcdir)/OpenXM/src ; make binary-dist)
28:
29: install : all
30: tar cf - OpenXM/bin OpenXM/doc OpenXM/lib OpenXM/rc OpenXM/Copyright OpenXM/include OpenXM/man OpenXM/misc | (cd ${prefix} ; tar xf - )
31: -for i in $(OpenXM_BINARIES); do strip ${prefix}/OpenXM/bin/$$i ; done
32: (cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})
33:
34: install.man : install
35: -cp ${prefix}/OpenXM/man/man1/* ${MAN_DIR}
36:
37: clean :
38: cd $(srcdir)/OpenXM/src ; make clean
39:
40: distclean :
41: cd $(srcdir)/OpenXM/src ; make distclean
42:
43:
44: #### The rests are for committers.
45: make-tar-ball :
46: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
47: $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2
48: rm -f *~
49: echo "Creating a tar ball under ~/tmp/"
1.2 takayama 50: (cd .. ; tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2)
1.3 ! takayama 51: rm -rf openxm
! 52: mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm
! 53: tar czf $(HOME)/tmp/openxm-port.tar.gz openxm
1.1 takayama 54:
55: make-tar-ball-from-local-OpenXM :
56: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
57: (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf -
58: (cd OpenXM/src ; make distclean )
59: rm -f *~
60: echo "It is ready to tar this directory."
61:
62: # This is used for the test.
63: generate-symbolic-links :
64: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
65: ln -s $(OpenXM_TOP)/OpenXM OpenXM
66: ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib
67: ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib2
68:
69:
70:
71: clean-this-directory:
72: /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>