Annotation of OpenXM/misc/packages/README, Revision 1.4
1.4 ! takayama 1: $OpenXM: OpenXM/misc/packages/README,v 1.3 2000/03/13 02:54:26 takayama Exp $
1.1 takayama 2:
3: /*&japanese
4:
5: $B$3$N(B Makefile $B$O(B, $B?@8M$K$*$$$F(B binary package $B$r@=:n$7(B,
6: ftp cite $B$X$*$/$?$a$N<+F02=%9%/%j%W%H$,$O$$$C$F$$$^$9(B.
7: $B$?$@$7(B, $B0J2<$N$h$&$J=`Hw$r$*$3$J$($P(B, committer $B$O$I$3$G$b(B binary package
8: $B$N(B make $B$r$*$3$J$($^$9(B. $B$b$C$H(B portable $B$J(B, binary package builder
9: $B$K$D$$$F$O(B, $B<!$N(B version $B$K$J$k$G$7$g$&(B.
10:
11: $B4pK\E*$J9M$($+$?(B:
12: $B$?$H$($P(B,
13: Generic/openxm/Makefile
14: $B$O(B, cvs server (kerberos.math.sci.kobe-u.ac.cp)
15: $B$h$j%=!<%9$r$H$j$@$7(B work $B0J2<$KE83+$7$F(B, make $B$r$*$3$J$$(B
16: TAR_WORK $B$K(B tar file $B$r$*$-$^$9(B.
17:
1.4 ! takayama 18: [1] $B@_Dj$,I,MW$+$b$7$l$J$$(B Makefile $B$N%Q%i%a!<%?(B ([2] $B$N>u67$G$OJQ99I,MW$J$7(B):
1.1 takayama 19: TAG cvs server $B$h$j(B $B%=!<%9$r$H$j$@$9$H$-$N%?%0(B. $B8=:_CM(B HEAD
20: TAR_WORK $B$G$-$"$,$C$?(B, tar file $B$r$*$/>l=j(B. $B8=:_CM(B $(HOME)/tmp
21: VERSION OpenXM $B$N(B Version $B8=:_CM(B 1.1.2
1.4 ! takayama 22: TAR_WORK_EXPLICIT TAR_WORK $B$rE83+$7$?CM(B.
! 23: $B%?!<%2%C%H(B build-on-pear (root) $B$GMxMQ(B
1.1 takayama 24: FTP_AREA ftp $BMQ$N(B tar $B$r$*$/>l=j(B. mkdir $B$7$F$*$/$3$H(B.
1.4 ! takayama 25: $B%?!<%2%C%H(B copy-to-ftp-area $B$N$_$G;HMQ(B.
1.1 takayama 26:
27:
1.4 ! takayama 28: [2] $BMQ0U$7$F$*$/%U%!%$%k(B, directory
1.1 takayama 29: # OpenXM, OpenXM_contrib, OpenXM_contrib2 $B$O(B $(HOME) $BD>2<$K$"$k$H2>Dj(B.
30: # RPM $B$O(B /var/tmp/openxm* $B$K(B, binary $B$r0l;~E*$K(B install $B$7$^$9(B. 50 M $BDxEY$N(B
31: $BNN0h$,I,MW$G$7$g$&(B. $BJQ99$K$O(B, Linux/RPM/Makefile, *spec.in $B$rJT=8(B.
1.4 ! takayama 32: # mkdir ${TAR_WORK} $B$D$^$j(B mkdir ~/tmp
1.1 takayama 33: # $(HOME)/.rpmrc
34: $BFbMF(B: TopDir: /home/taka/OpenXM/misc/packages/Linux/RPM/work
35: /home/taka $B$O(B $(HOME) $B$NCM(B
36: rpm $B$O(B $B$3$N(B direcotry $B0J2<$G:n6H$r9T$&(B.
1.4 ! takayama 37: # $B%5!<%A%Q%9$K<B9T2DG=$J%9%/%j%W%H(B cvs-OpenXM
! 38: (cvs $B%5!<%P$K%"%/%;%9$7$F%U%!%$%k$r(B rcvs export $B$9$k$?$a(B)
1.1 takayama 39: $B;29M(B: ($B;d$N(B cvs-OpenXM)
40: orange% cat bin/cvs-OpenXM
41: #!/bin/sh
42: CVS_RSH=ssh-takayama
43: export CVS_RSH
44: cvs $*
45: orange% cat bin/ssh-takayama
46: #!/bin/sh
47: ssh1 -l takayama $*
48:
1.4 ! takayama 49: # $B%Q%9@_Dj(B:
1.1 takayama 50: set path=(/usr/local/jdk1.1.8/bin $path) $B$H$7$F(B, java, javac $B$r%5!<%A(B
51: $B%Q%9$K$$$l$k$3$H(B. [build-on-pear $B$G$O<+F0(B]
52:
1.4 ! takayama 53:
! 54: ### Linux $BMQ$N%P%$%J%jG[I[%U%!%$%k(B
! 55: OpenXM-binary-Linux-cpu.tgz
! 56: openxm-binary-1.1.2-test.cpu.tgz
! 57: $B$r:n@.$9$k$K$O<!$N$h$&$K$7$^$9(B. Redhat $B7O$N(B OS $B$G(B rpm $B$,I,MW$G$9(B.
! 58: (Debian $B$G$O$@$a(B.) Redhat $BF|K\8lHG(B 6.1 $B2~(B $B$G%F%9%H$:$_(B.
! 59: (a) make TAG=RELEASE_1_1_2 generate-tar-balls-without-update-plist
! 60: (b) make TAG=RELEASE_1_1_2 build-on-redhat
! 61:
! 62:
! 63: $B?@8M$K$*$1$k%^%7%s9=@.(B:
1.1 takayama 64: $B$9$Y$F$N%^%7%s$G(B home $B$O(B NFS $B$G6&M-$5$l$F$$$k(B.
65: orange : FreeBSD
66: pear : FreeBSD root $B$K$J$j(B, FreeBSD $BMQ$N(B package $B$r$D$/$k(B.
67: ${TAR_WORK} $B$K(B root $B8"8B$G(B access $B$G$-$J$$$H$$$1$J$$(B.
68: unkei : Solaris
69:
70: $B<j=g(B:
71: @echo "1. generate-tar-balls" FreeBSD machine $B$G<B9T$9$k$3$H(B.
72: @echo " (update-plist)"
73: @echo "2. build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)"
74: @echo "3. build-on-pear (do it as a super user)"
75: @echo "4. build-on-redhat (do not forget to set .rpmrc)"
76: @echo "5. build-on-unkei"
77: @echo "6. copy-to-ftp-area "
78:
79: 2 $B$H(B 3 $B$OJBNs$G$*$3$J$($k$,(B, NFS $B$G6&M-$5$l$F$k8B$j(B, $BJBNs$K(B build $B$7$F$O$$(B
80: $B$1$J$$(B.
81:
82: generate-tar-ball $B$OJ#;($J$N$G(B, $B2r@b(B:
83: make clean
84: $B$9$Y$F$N(B work $B$r>C5n(B.
85: (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball)
86: ${TAR_WORK} $B$X(B openxm-${VERSION}.tar.gz $B$r$D$/$k(B.
87: (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01)
88: ${TAR_WORK} $B$X(B openxm01-${VERSION}.tar.gz $B$r$D$/$k(B.
89: [ OpenXM_contrib2 $B$r$D$/$i$J$$(B. ]
90: make update-plist
91: $B$3$l$,J#;((B.
92: FreeBSD/openxm-ports/openxm $B$X(B cd $B$7$F(B,
93: ${TAR_WORK}/openxm-${VERSION}.tar.gz $B$h$j(B,
94: FreeBSD port $B$rMQ$$$F(B, make $B$9$k(B. ( $B$3$3$O;~4V$,$+$+$k(B)
95: $B$3$N$H$-(B, port $B$N0MB84X78$G(B, make $B$K<:GT$9$k>l9g$O(B,
96: $B$H$j$"$($:(B, port $B$N(B Makefile $B$rJT=8$7$F$+$i(B, [ $B$"$H$G@bL@(B ]
97: root $B$K$J$j(B make $B$9$k$H<+F0$GI,MW$J(B tool $B$r(B install $B$9$k(B.
98: make clean $B$7$F(B, root $B$G$N:n6H$r>C$7(B,
99: $B$=$l$+$i(B, $B0lHL%f!<%6$KLa$j(B generate-tar-balls $B$KLa$k(B.
100: $B$J$*(B /usr/local/share/texmf/texmf.cnf $BEy$NJT=8$,I,MW$+$b(B.
101:
102: make $B$7$?$i(B, work/openxm-${VERSION}/OpenXM/bin $BEy$r(B
103: $B$_$J$,$i(B, PLIST $B$r99?7$7$F(B, $B<+F0E*$K(B commit $B$9$k(B.
104: (cd FreeBSD ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port)
105: CVS server $B$h$j(B PLIST $B$r4^$`(B FreeBSD port $B$r$H$j$@$7(B,
106: tar $B2=(B. build-on-pear $B$G;H$&(B.
107: (cd Linux/RPM ; make make-directory)
108: (cd Linux/RPM ; make link-for-real-openxm)
109: $B$3$l$O(B, rpm $BMQ$N=i4|$+(B. $B$9$0$*$o$k(B.
1.2 takayama 110:
111:
112: # $B?7$7$/(B, /usr/local/bin, /usr/local/man/man1 $B$J$I(B /usr/local/OpenXM
113: $B0J30$K%$%s%9%H!<%k$9$k%U%!%$%k$,$G$-$?$P$"$$(B $B0J2<$N%U%!%$%k$N=$@5(B
114: $B$NI,MW$,$"$k$+$b$7$l$J$$(B.
115: Generic/openxm/Makefile
116: FreeBSD/openxm-ports/openxm-1.1.2/files/gen-plist.c $B$*$h$S(B
117: $B<+F0@8@.$5$l$?(B plist. cf. cd FreeBSD ; make update-plist ($B;~4V$+$+$k(B)
118: Linux/RPM/*.spec.in
119:
120: Generic/openxm/Makefile $B$N(B SHARED_FILES, BINARY_FILES $B$bCm0U?<$/(B
121: $BJQ99$N$3$H(B.
1.3 takayama 122:
123: # build-on-unkei $B$KBP$9$k%N!<%H(B.
124: set path=(/usr/ccs/bin /usr/local/bin $path); rehash
125: setenv OpenXM_HOME xxx-yyy
126: (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages,
127: and make OpenXM_HOME=$OpenXM_HOME build-on-unkei
1.1 takayama 128:
129: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>