Annotation of OpenXM/src/asir-doc/Makefile.in, Revision 1.2
1.2 ! takayama 1: # $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.1 2004/06/30 12:13:05 takayama Exp $
1.1 takayama 2: OpenXM_HOME=@prefix@
3: OpenXM_doc_asir2000=${OpenXM_HOME}/doc/asir2000
4: OpenXM_lib_asir=${OpenXM_HOME}/lib/asir
5: OpenXM_man=${OpenXM_HOME}/man/man1
6: CC=@CC@
7: DVIPDF=dvipdfmx
8:
9: all:
10: if [ ! -f .make_done ]; then make all2 ; touch .make_done ; fi
11: install:
12: if [ ! -f .install_done ] ; then make install2 ; touch .install_done ; fi
13:
14: all2: all-eg all-jp
1.2 ! takayama 15: install2: install-eg install-jp install-man-pages
1.1 takayama 16:
17: all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg
18: all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp html-internal-ja html-exp-ja
19:
20: install-eg: all-eg
21: -rm -r -f ${OpenXM_lib_asir}/help-eg
22: -tar cf - help-eg | (cd ${OpenXM_lib_asir}; tar xf - )
23: -mkdir ${OpenXM_doc_asir2000}
24: -rm -r -f ${OpenXM_doc_asir2000}/html-eg
25: -tar cf - html-eg | ( cd ${OpenXM_doc_asir2000}; tar xf - )
26: -cp man-eg.dvi ${OpenXM_doc_asir2000}
27:
28: install-jp: all-jp
29: -rm -r -f ${OpenXM_lib_asir}/help-jp
30: -tar cf - help-jp | (cd ${OpenXM_lib_asir}; tar xf - )
31: -mkdir ${OpenXM_doc_asir2000}
32: -rm -r -f ${OpenXM_doc_asir2000}/html-jp
33: -tar cf - html-jp | ( cd ${OpenXM_doc_asir2000}; tar xf - )
34: -cp man-jp.dvi ${OpenXM_doc_asir2000}
35: -tar cf - html-internal-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - )
36: -tar cf - html-exp-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - )
37:
38: install-man-pages:
1.2 ! takayama 39: -install asir.1 ${OpenXM_man}
1.1 takayama 40:
41: configure:
42: (cd jtexindex/C; ./configure; make clean)
43:
44: texindex:
45: (cd jtexindex/C; make)
46:
47: nkf:
48: (cd nkf-1.7; make)
49:
50: BUILTINS=\
51: parts/builtin/array.texi parts/builtin/bit.texi\
52: parts/builtin/function.texi parts/builtin/io.texi\
53: parts/builtin/list.texi parts/builtin/misc.texi\
54: parts/builtin/num.texi parts/builtin/poly.texi\
55: parts/builtin/string.texi parts/builtin/numeric.texi\
56: parts/builtin/type.texi parts/builtin/upoly.texi\
57: parts/builtin/structure.texi parts/builtin/module.texi
58:
59: PARTS=\
60: parts/algnum.texi parts/appendix.texi parts/asir.texi\
61: parts/builtin.texi parts/debug.texi\
62: parts/process.texi\
63: parts/ff.texi parts/groebner.texi\
64: parts/intro.texi parts/risa.texi parts/type.texi
65:
66: SRCS=man.texi $(PARTS) $(BUILTINS)
67:
68: INTERNAL_SRCS=internal.texi int-parts/datatype.texi int-parts/gc.texi\
69: int-parts/inter.texi int-parts/intro.texi int-parts/macro.texi\
70: int-parts/operation.texi int-parts/parser.texi int-parts/port.texi\
71: int-parts/datatype/algnum.texi\
72: int-parts/datatype/char2ff.texi\
73: int-parts/datatype/dpoly.texi\
74: int-parts/datatype/float.texi\
75: int-parts/datatype/largeff.texi\
76: int-parts/datatype/list.texi\
77: int-parts/datatype/mat.texi\
78: int-parts/datatype/number.texi\
79: int-parts/datatype/poly.texi\
80: int-parts/datatype/ratexp.texi\
81: int-parts/datatype/ratnum.texi\
82: int-parts/datatype/risaobj.texi\
83: int-parts/datatype/smallff.texi\
84: int-parts/datatype/string.texi\
85: int-parts/datatype/vect.texi
86:
87: tmpJP: $(SRCS)
88: -rm -rf tmpJP
89: -mkdir tmpJP tmpJP/parts tmpJP/parts/builtin
90: -cp texinfo.* txi*tex tmpJP
91: -for i in ${SRCS}; do ./extract_man JP $$i > tmpJP/$$i; done
92:
93: tmpJPeuc: $(SRCS)
94: -rm -rf tmpJPeuc
95: -mkdir tmpJPeuc tmpJPeuc/parts tmpJPeuc/parts/builtin
96: -cp texinfo.* txi*tex tmpJPeuc
97: -for i in ${SRCS}; do \
98: ./extract_man JP $$i | nkf -e > tmpJPeuc/$$i; \
99: done
100:
101: tmpJPhtml: $(SRCS)
102: -rm -rf tmpJPhtml
103: -mkdir tmpJPhtml tmpJPhtml/parts tmpJPhtml/parts/builtin
104: -cp texinfo.* txi*tex tmpJPhtml
105: -for i in ${SRCS}; do \
106: ./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmpJPhtml/$$i; \
107: done
108:
109: tmpEG: $(SRCS)
110: -rm -rf tmpEG
111: -mkdir tmpEG tmpEG/parts tmpEG/parts/builtin
112: -cp texinfo.* txi*tex tmpEG
113: -for i in ${SRCS}; do ./extract_man EG $$i > tmpEG/$$i; done
114:
115: tmpEGhtml: $(SRCS)
116: -rm -rf tmpEGhtml
117: -mkdir tmpEGhtml tmpEGhtml/parts tmpEGhtml/parts/builtin
118: -cp texinfo.* txi*tex tmpEG
119: -for i in ${SRCS}; do \
120: ./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\
121: done
122:
123: tmp-internal-JAhtml: $(INTERNAL_SRCS)
124: -rm -rf tmp-internal-JAhtml
125: -mkdir tmp-internal-JAhtml tmp-internal-JAhtml/int-parts tmp-internal-JAhtml/int-parts/datatype
126: -cp texinfo.* txi*tex tmp-internal-JAhtml
127: -for i in ${INTERNAL_SRCS}; do \
128: ./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-internal-JAhtml/$$i; \
129: done
130:
131: man-jp.dvi: tmpJP
132: -rm man-jp.dvi
133: -(cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi)
134: -mv tmpJP/man.dvi man-jp.dvi
135: -touch man-jp.dvi
136:
137: man-eg.dvi: tmpEG
138: -rm man-eg.dvi
139: -(cd tmpEG; tex man.texi; ../jtexindex/C/texindex man.??; tex man.texi)
140: -(cd tmpEG; makeinfo man.texi)
141: -mv tmpEG/man.dvi man-eg.dvi
142: -touch man-eg.dvi
143:
144: man-jp.pdf: man-jp.dvi
145: ${DVIPDF} man-jp.dvi
146:
147: man-eg.pdf: man-eg.dvi
148: ${DVIPDF} man-eg.dvi
149:
150: help-jp: tmpJPeuc man-jp.dvi
151: -rm -rf help-jp
152: -mkdir help-jp
153: -(cd tmpJPeuc; makeinfo man.texi)
154: -(cd help-jp; for i in ../tmpJPeuc/risaman*; do ../extract_func -j $$i; done)
155:
156: help-eg: tmpEG man-eg.dvi
157: -rm -rf help-eg
158: -mkdir help-eg
159: -(cd help-eg; for i in ../tmpEG/risaman*; do ../extract_func $$i; done)
160:
161: html-jp: tmpJPhtml
162: -rm -rf html-jp
163: -mkdir html-jp
164: -(cd html-jp; texi2html -menu -split_node ../tmpJPhtml/man.texi)
165:
166: html-eg: tmpEGhtml
167: -rm -rf html-eg
168: -mkdir html-eg
169: -(cd html-eg; texi2html -menu -split_node ../tmpEGhtml/man.texi)
170:
171: html-win: html-jp gen_hh
172: -rm -rf html-win
173: -mkdir html-win
174: (cd html-jp; for i in *; do nkf -s $$i > ../html-win/$$i; done)
175: gen_hh html-win html-win
176:
177: html-win-eg: html-eg gen_hh
178: -rm -rf html-win-eg
179: -mkdir html-win-eg
180: (cd html-eg; for i in *; do nkf -s $$i > ../html-win-eg/$$i; done)
181: gen_hh html-win-eg html-win-eg
182:
183: html-internal-ja: tmp-internal-JAhtml
184: -rm -rf html-internal-ja
185: -mkdir html-internal-ja
186: -(cd html-internal-ja; texi2html ../tmp-internal-JAhtml/internal.texi)
187:
188: html-exp-ja: exp/exp-ja.texi
189: -rm -rf html-exp-ja
190: -mkdir html-exp-ja
191: -nkf -e <exp/exp-ja.texi >html-exp-ja/exp-ja.texi
192: -(cd html-exp-ja; texi2html -menu -split_node exp-ja.texi)
193:
194: internal-jp.dvi: tmp-internal-JAhtml
195: -rm internal-jp.dvi
196: -(cd tmp-internal-JAhtml; ptex internal.texi; ../jtexindex/C/texindex internal.??; ptex internal.texi)
197: -mv tmp-internal-JAhtml/internal.dvi internal-jp.dvi
198: -touch internal-jp.dvi
199: extract_func: extract_func.c
200: ${CC} -o extract_func extract_func.c
201:
202: extract_man: extract_man.c
203: ${CC} -o extract_man extract_man.c
204:
205: gen_hh: html_tools/gen_hh.c
206: ${CC} -o gen_hh html_tools/gen_hh.c
207:
208: targzuu: help-eg help-jp html-eg html-jp
209: -tar cf - help-eg | gzip -9 | uuencode help-eg.tgz > help-eg.uu
210: -tar cf - help-jp | gzip -9 | uuencode help-jp.tgz > help-jp.uu
211: -tar cf - html-eg | gzip -9 | uuencode html-eg.tgz > html-eg.uu
212: -tar cf - html-jp | gzip -9 | uuencode html-jp.tgz > html-jp.uu
213:
214: clean:
215: (cd jtexindex/C; make clean)
216: -rm -f man*.dvi man*.pdf extract_man extract_func gen_hh .*done
217: -rm -f internal-jp.dvi
218: -rm -rf tmp*
219: -rm -rf help-*
220: -rm -rf html-*
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>