Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile, Revision 1.45
1.45 ! takayama 1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.44 2003/05/18 09:57:33 takayama Exp $
1.5 takayama 2: # targets
3: # all :
1.29 takayama 4: # Extracts all tex-info files from ../src/* and generate *.texi files.
1.6 takayama 5: # install : install-document install-help
6: # install-help : all
1.5 takayama 7: # Installing online help to OpenXM/lib/asir/help-*
1.36 takayama 8: # install-document : all gen-dvi-ps
9: # Copy the documents in dvi and ps to OpenXM/doc/asir-contrib
1.15 takayama 10: # install-html-help
11: # Copy html help to OpenXM/doc/asir-contrib
1.29 takayama 12: # gen-html-en gen-html-ja
13: # Generate HTML documents under html-en and html-ja
1.36 takayama 14: # gen-dvi-ps
15: # Generate dvi and ps files.
1.15 takayama 16: #
1.6 takayama 17: # NOTE: install-help should be executed after installing asir2000.
1.29 takayama 18: ########################################################################
19: # How to add new documents in the category xxx
20: # "xxx*.texi <--- xxx.oxweave (manually written) + xxx*auto*.texi (automatic)"
21: # (1) "xxx.oxweave" --> xxx-en.texi and xxx-ja.texi
22: # xxx-auto-en.texi and xxx-auto-ja.texi should be included from
23: # xxx-en.texi and xxx-ja.texi (JPSRCS, EGSRCS)
24: # NOTE: xxx.oxweave might be embedded in xxx.rr or xxx,
25: # but this style is obsolete.
26: # (2) "xxx.rr" or "xxx" --> xxx-auto-en.texi and xxx-auto-ja.texi
27: # (JAAUTO, ENAUTO)
28: # xxx-auto*.texi's are extracted from xxx or xxx.rr
29: # (3) xxx-en.texi and xxx-ja.texi should be included from cman.texi
1.33 takayama 30: # and cman-en.texi
1.29 takayama 31: # cf. glib* base*
32: ########################################################################
1.5 takayama 33: OpenXM_ROOT=../../../../../OpenXM
34: ASIRDOC=$(OpenXM_ROOT)/src/asir-doc
35: ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib
36: CONTRIB=$(OpenXM_ROOT)/src/asir-contrib/packages/src
1.23 takayama 37: OPTGENTEXI= --include
38: #OPTGENTEXI= --include --example
1.6 takayama 39: ## PS documents are installed under $(OpenXM_doc)/asir-contrib
1.5 takayama 40: OpenXM_doc=$(OpenXM_ROOT)/doc
41: DVIPS=dvips -f
1.9 noro 42: OXWEAVE= ../../../kxx/oxweave
1.15 takayama 43: TEXI2HTML=texi2html -menu -split_node
1.39 takayama 44: RM=rm
1.5 takayama 45:
1.43 takayama 46: JPSRCS= opening.texi oxrfc100-ja.texi oxmath-ja.texi oxphc-ja.texi oxgnuplot-ja.texi oxsm1-ja.texi oxom-ja.texi dsolv-ja.texi oxtigers-ja.texi names-ja.texi hypergeometric-ja.texi number-ja.texi calculus-ja.texi series-ja.texi matrix-ja.texi graphic-ja.texi print-ja.texi poly-ja.texi complex-ja.texi intro-ja.texi Diff-ja.texi Dmodule-ja.texi base-ja.texi misc-ja.texi glib-ja.texi pfp-ja.texi plucker-ja.texi windows-ja.texi util-ja.texi
47: EGSRCS= opening.texi oxrfc100-en.texi oxmath-en.texi oxphc-en.texi oxgnuplot-en.texi oxsm1-en.texi oxom-en.texi dsolv-en.texi oxtigers-en.texi names-en.texi hypergeometric-en.texi number-en.texi calculus-en.texi series-en.texi matrix-en.texi graphic-en.texi print-en.texi poly-en.texi complex-en.texi intro-en.texi cman-en.texi base-en.texi misc-en.texi glib-en.texi pfp-en.texi plucker-en.texi windows-en.texi util-en.texi
1.6 takayama 48:
1.27 takayama 49: JAAUTO=base-auto-ja.texi pfp-auto-ja.texi poly-auto-ja.texi \
1.32 takayama 50: print-auto-ja.texi matrix-auto-ja.texi glib-auto-ja.texi \
1.42 takayama 51: sm1-auto-ja.texi plucker-auto-ja.texi util-auto-ja.texi \
52: number-auto-ja.texi
1.27 takayama 53: ENAUTO=base-auto-en.texi pfp-auto-en.texi poly-auto-en.texi \
1.32 takayama 54: print-auto-en.texi matrix-auto-en.texi glib-auto-en.texi \
1.42 takayama 55: sm1-auto-en.texi plucker-auto-en.texi util-auto-en.texi \
56: number-auto-en.texi
1.23 takayama 57:
58: all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO)
1.33 takayama 59: @echo "Type in tex cman-en.texi to generate the manual(en) in dvi format."
60: @echo "Type in ptex cman-ja.texi to generate the manual(ja) in dvi format."
1.28 takayama 61: install :
62: @if [ ! -f ./.done_install ] ; \
63: then \
64: make install2 ; \
65: touch ./.done_install ; \
66: else \
67: echo "NOTE: Installation is already done. Remove .done_install for a new installation." ; \
68: fi
69:
70: install2 : install-document install-help install-html-help
1.1 takayama 71:
1.22 takayama 72: gentexi : gentexi.c
73: gcc -o gentexi gentexi.c
74:
1.32 takayama 75: ###base
1.21 takayama 76: base-ja.texi : base.oxweave
1.39 takayama 77: $(RM) -f base-ja.texi
1.21 takayama 78: $(OXWEAVE) C ja <base.oxweave >base-ja.texi
79: base-en.texi : base.oxweave
1.39 takayama 80: $(RM) -f base-en.texi
1.21 takayama 81: $(OXWEAVE) C en <base.oxweave >base-en.texi
1.32 takayama 82: base-auto-en.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 83: $(RM) -f base-auto-en.texi
1.37 noro 84: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --en --upnode "Basic (Standard Functions)" ${OPTGENTEXI} >base-auto-en.texi
1.32 takayama 85: base-auto-ja.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 86: $(RM) -f base-auto-ja.texi
1.40 takayama 87: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --ja --upnode "Basic (Standard Functions)" ${OPTGENTEXI} >base-auto-ja.texi
1.32 takayama 88:
1.21 takayama 89:
1.15 takayama 90: names-ja.texi : names.oxweave
1.39 takayama 91: $(RM) -f names-ja.texi
1.15 takayama 92: $(OXWEAVE) C ja <names.oxweave >names-ja.texi
93:
94: names-en.texi : names.oxweave
1.39 takayama 95: $(RM) -f names-en.texi
1.16 takayama 96: $(OXWEAVE) C en <names.oxweave >names-en.texi
1.15 takayama 97:
1.32 takayama 98: ###plucker
1.20 takayama 99: plucker-ja.texi : plucker.oxweave
1.39 takayama 100: $(RM) -f plucker-ja.texi
1.20 takayama 101: $(OXWEAVE) C ja <plucker.oxweave >plucker-ja.texi
102: plucker-en.texi : plucker.oxweave
1.39 takayama 103: $(RM) -f plucker-en.texi
1.20 takayama 104: $(OXWEAVE) C en <plucker.oxweave >plucker-en.texi
1.32 takayama 105: plucker-auto-en.texi : $(CONTRIB)/plucker.rr gentexi
1.39 takayama 106: $(RM) -f plucker-auto-en.texi
1.37 noro 107: $(OXWEAVE) usage <$(CONTRIB)/plucker.rr | ./gentexi --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto-en.texi
1.32 takayama 108: plucker-auto-ja.texi : $(CONTRIB)/plucker.rr gentexi
1.39 takayama 109: $(RM) -f plucker-auto-ja.texi
1.40 takayama 110: $(OXWEAVE) usage <$(CONTRIB)/plucker.rr | ./gentexi --category plucker --ja --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto-ja.texi
1.20 takayama 111:
1.15 takayama 112: hypergeometric-ja.texi : hypergeometric.oxweave
1.39 takayama 113: $(RM) -f hypergeometric-ja.texi
1.15 takayama 114: $(OXWEAVE) C ja <hypergeometric.oxweave >hypergeometric-ja.texi
115:
116: hypergeometric-en.texi : hypergeometric.oxweave
1.39 takayama 117: $(RM) -f hypergeometric-en.texi
1.16 takayama 118: $(OXWEAVE) C en <hypergeometric.oxweave >hypergeometric-en.texi
119:
1.42 takayama 120: ### number
1.16 takayama 121: number-ja.texi : number.oxweave
1.39 takayama 122: $(RM) -f number-ja.texi
1.16 takayama 123: $(OXWEAVE) C ja <number.oxweave >number-ja.texi
124:
125: number-en.texi : number.oxweave
1.39 takayama 126: $(RM) -f number-en.texi
1.16 takayama 127: $(OXWEAVE) C en <number.oxweave >number-en.texi
1.42 takayama 128: number-auto-en.texi : $(CONTRIB)/names.rr gentexi
129: $(RM) -f number-auto-en.texi
130: cat ${CONTRIB}/names.rr | $(OXWEAVE) usage | ./gentexi --category number --en --upnode "Numbers (Standard Mathematical Functions)" ${OPTGENTEXI} >number-auto-en.texi
131: number-auto-ja.texi : $(CONTRIB)/names.rr gentexi
132: $(RM) -f number-auto-ja.texi
133: cat ${CONTRIB}/names.rr | $(OXWEAVE) usage | ./gentexi --category number --ja --upnode "Numbers (Standard Mathematical Functions)" ${OPTGENTEXI} >number-auto-ja.texi
1.16 takayama 134:
135: calculus-ja.texi : calculus.oxweave
1.39 takayama 136: $(RM) -f calculus-ja.texi
1.16 takayama 137: $(OXWEAVE) C ja <calculus.oxweave >calculus-ja.texi
138:
139: calculus-en.texi : calculus.oxweave
1.39 takayama 140: $(RM) -f calculus-en.texi
1.16 takayama 141: $(OXWEAVE) C en <calculus.oxweave >calculus-en.texi
142:
143: series-ja.texi : series.oxweave
1.39 takayama 144: $(RM) -f series-ja.texi
1.16 takayama 145: $(OXWEAVE) C ja <series.oxweave >series-ja.texi
146:
147: series-en.texi : series.oxweave
1.39 takayama 148: $(RM) -f series-en.texi
1.16 takayama 149: $(OXWEAVE) C en <series.oxweave >series-en.texi
150:
1.32 takayama 151: ### matrix
1.16 takayama 152: matrix-ja.texi : matrix.oxweave
1.39 takayama 153: $(RM) -f matrix-ja.texi
1.16 takayama 154: $(OXWEAVE) C ja <matrix.oxweave >matrix-ja.texi
155: matrix-en.texi : matrix.oxweave
1.39 takayama 156: $(RM) -f matrix-en.texi
1.16 takayama 157: $(OXWEAVE) C en <matrix.oxweave >matrix-en.texi
1.32 takayama 158: matrix-auto-en.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 159: $(RM) -f matrix-auto-en.texi
1.37 noro 160: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --en --upnode "Matrix (Standard Mathematical Functions)" ${OPTGENTEXI} >matrix-auto-en.texi
1.32 takayama 161: matrix-auto-ja.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 162: $(RM) -f matrix-auto-ja.texi
1.40 takayama 163: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --ja --upnode "Matrix (Standard Mathematical Functions)" ${OPTGENTEXI} >matrix-auto-ja.texi
1.32 takayama 164:
1.16 takayama 165:
166: graphic-ja.texi : graphic.oxweave
1.39 takayama 167: $(RM) -f graphic-ja.texi
1.16 takayama 168: $(OXWEAVE) C ja <graphic.oxweave >graphic-ja.texi
169:
170: graphic-en.texi : graphic.oxweave
1.39 takayama 171: $(RM) -f graphic-en.texi
1.16 takayama 172: $(OXWEAVE) C en <graphic.oxweave >graphic-en.texi
173:
1.32 takayama 174: ### print
1.16 takayama 175: print-ja.texi : print.oxweave
1.39 takayama 176: $(RM) -f print-ja.texi
1.16 takayama 177: $(OXWEAVE) C ja <print.oxweave >print-ja.texi
178: print-en.texi : print.oxweave
1.39 takayama 179: $(RM) -f print-en.texi
1.16 takayama 180: $(OXWEAVE) C en <print.oxweave >print-en.texi
1.32 takayama 181: print-auto-en.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 182: $(RM) -f print-auto-en.texi
1.37 noro 183: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --en --upnode "Print (Standard Mathematical Functions)" ${OPTGENTEXI} >print-auto-en.texi
1.32 takayama 184: print-auto-ja.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 185: $(RM) -f print-auto-ja.texi
1.40 takayama 186: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --ja --upnode "Print (Standard Mathematical Functions)" ${OPTGENTEXI} >print-auto-ja.texi
1.16 takayama 187:
1.32 takayama 188: ###poly
1.16 takayama 189: poly-ja.texi : poly.oxweave
1.39 takayama 190: $(RM) -f poly-ja.texi
1.16 takayama 191: $(OXWEAVE) C ja <poly.oxweave >poly-ja.texi
192: poly-en.texi : poly.oxweave
1.39 takayama 193: $(RM) -f poly-en.texi
1.16 takayama 194: $(OXWEAVE) C en <poly.oxweave >poly-en.texi
1.32 takayama 195: poly-auto-en.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 196: $(RM) -f poly-auto-en.texi
1.37 noro 197: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --en --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto-en.texi
1.32 takayama 198: poly-auto-ja.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 199: $(RM) -f poly-auto-ja.texi
1.40 takayama 200: $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --ja --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto-ja.texi
1.16 takayama 201:
202: complex-ja.texi : complex.oxweave
1.39 takayama 203: $(RM) -f complex-ja.texi
1.16 takayama 204: $(OXWEAVE) C ja <complex.oxweave >complex-ja.texi
205:
206: complex-en.texi : complex.oxweave
1.39 takayama 207: $(RM) -f complex-en.texi
1.16 takayama 208: $(OXWEAVE) C en <complex.oxweave >complex-en.texi
209:
1.15 takayama 210:
1.43 takayama 211: oxrfc100-ja.texi : oxrfc100.oxweave Makefile
212: $(RM) -f oxrfc100-ja.texi
213: $(OXWEAVE) C-texi jp-texi <oxrfc100.oxweave >oxrfc100-ja.texi
214:
215: oxrfc100-en.texi : oxrfc100.oxweave Makefile
216: $(RM) -f oxrfc100-en.texi
217: $(OXWEAVE) C-texi eg-texi <oxrfc100.oxweave >oxrfc100-en.texi
1.33 takayama 218:
1.45 ! takayama 219: oxmath-ja.texi : m.oxweave Makefile
1.39 takayama 220: $(RM) -f oxmath-ja.texi
1.45 ! takayama 221: $(OXWEAVE) C-texi jp-texi <m.oxweave >oxmath-ja.texi
1.33 takayama 222:
1.45 ! takayama 223: oxmath-en.texi : m.oxweave Makefile
1.39 takayama 224: $(RM) -f oxmath-en.texi
1.45 ! takayama 225: $(OXWEAVE) C-texi eg-texi <m.oxweave >oxmath-en.texi
1.33 takayama 226:
1.45 ! takayama 227: oxphc-ja.texi : phc.oxweave Makefile
1.39 takayama 228: $(RM) -f oxphc-ja.texi
1.45 ! takayama 229: $(OXWEAVE) C-texi jp-texi <phc.oxweave >oxphc-ja.texi
1.33 takayama 230:
1.45 ! takayama 231: oxphc-en.texi : phc.oxweave Makefile
1.39 takayama 232: $(RM) -f oxphc-en.texi
1.45 ! takayama 233: $(OXWEAVE) C-texi eg-texi <phc.oxweave >oxphc-en.texi
1.33 takayama 234:
1.44 takayama 235: oxgnuplot-ja.texi : gnuplot.oxweave Makefile
1.39 takayama 236: $(RM) -f oxgnuplot-ja.texi
1.44 takayama 237: $(OXWEAVE) C-texi jp-texi <gnuplot.oxweave >oxgnuplot-ja.texi
1.33 takayama 238:
1.44 takayama 239: oxgnuplot-en.texi : gnuplot.oxweave Makefile
1.39 takayama 240: $(RM) -f oxgnuplot-en.texi
1.44 takayama 241: $(OXWEAVE) C-texi eg-texi <gnuplot.oxweave >oxgnuplot-en.texi
1.1 takayama 242:
1.32 takayama 243: ###sm1
1.33 takayama 244: oxsm1-ja.texi : sm1.oxweave Makefile sm1-auto-ja.texi
1.39 takayama 245: $(RM) -f oxsm1-ja.texi
1.33 takayama 246: $(OXWEAVE) C-texi jp-texi <sm1.oxweave >oxsm1-ja.texi
247: oxsm1-en.texi : sm1.oxweave Makefile sm1-auto-en.texi
1.39 takayama 248: $(RM) -f oxsm1-en.texi
1.33 takayama 249: $(OXWEAVE) C-texi eg-texi <sm1.oxweave >oxsm1-en.texi
1.32 takayama 250: sm1-auto-en.texi : $(CONTRIB)/sm1 gentexi
1.39 takayama 251: $(RM) -f sm1-auto-en.texi
1.37 noro 252: $(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-en.texi
1.32 takayama 253: sm1-auto-ja.texi : $(CONTRIB)/names.rr gentexi
1.39 takayama 254: $(RM) -f sm1-auto-ja.texi
1.40 takayama 255: $(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-ja.texi
1.1 takayama 256:
1.33 takayama 257: oxom-ja.texi : $(CONTRIB)/om Makefile
1.39 takayama 258: $(RM) -f oxom-ja.texi
1.33 takayama 259: $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/om >oxom-ja.texi
260:
261: oxom-en.texi : $(CONTRIB)/om Makefile
1.39 takayama 262: $(RM) -f oxom-en.texi
1.33 takayama 263: $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/om >oxom-en.texi
264:
265: dsolv-ja.texi : dsolv.oxweave Makefile
1.39 takayama 266: $(RM) -f dsolv-ja.texi
1.33 takayama 267: $(OXWEAVE) C-texi jp-texi <dsolv.oxweave >dsolv-ja.texi
268:
269: dsolv-en.texi : dsolv.oxweave Makefile
1.39 takayama 270: $(RM) -f dsolv-en.texi
1.33 takayama 271: $(OXWEAVE) C-texi eg-texi <dsolv.oxweave >dsolv-en.texi
272:
273:
1.45 ! takayama 274: oxtigers-ja.texi : tigers.oxweave Makefile
1.39 takayama 275: $(RM) -f oxtigers-ja.texi
1.45 ! takayama 276: $(OXWEAVE) C-texi jp-texi <tigers.oxweave >oxtigers-ja.texi
1.33 takayama 277:
1.45 ! takayama 278: oxtigers-en.texi : tigers.oxweave Makefile
1.39 takayama 279: $(RM) -f oxtigers-en.texi
1.45 ! takayama 280: $(OXWEAVE) C-texi eg-texi <tigers.oxweave >oxtigers-en.texi
1.13 takayama 281:
1.34 takayama 282: ### windows
283: windows-ja.texi : windows.oxweave Makefile
1.39 takayama 284: $(RM) -f windows-ja.texi
1.34 takayama 285: $(OXWEAVE) C-texi ja <windows.oxweave >windows-ja.texi
286:
287: windows-en.texi : windows.oxweave Makefile
1.39 takayama 288: $(RM) -f windows-en.texi
1.34 takayama 289: $(OXWEAVE) C-texi en <windows.oxweave >windows-en.texi
290:
1.35 takayama 291: ### intro
292: intro-ja.texi : intro.oxweave Makefile
1.39 takayama 293: $(RM) -f intro-ja.texi
1.35 takayama 294: $(OXWEAVE) C-texi ja <intro.oxweave >intro-ja.texi
295:
296: intro-en.texi : intro.oxweave Makefile
1.39 takayama 297: $(RM) -f intro-en.texi
1.35 takayama 298: $(OXWEAVE) C-texi en <intro.oxweave >intro-en.texi
299:
1.30 takayama 300: ###misc
301: misc-ja.texi : misc.oxweave
1.39 takayama 302: $(RM) -f misc-ja.texi
1.30 takayama 303: $(OXWEAVE) C ja <misc.oxweave >misc-ja.texi
304: misc-en.texi : misc.oxweave
1.39 takayama 305: $(RM) -f misc-en.texi
1.30 takayama 306: $(OXWEAVE) C en <misc.oxweave >misc-en.texi
1.29 takayama 307:
308: ###glib
309: glib-ja.texi : glib.oxweave
1.39 takayama 310: $(RM) -f glib-ja.texi
1.29 takayama 311: $(OXWEAVE) C ja <glib.oxweave >glib-ja.texi
312: glib-en.texi : glib.oxweave
1.39 takayama 313: $(RM) -f glib-en.texi
1.29 takayama 314: $(OXWEAVE) C en <glib.oxweave >glib-en.texi
315: glib-auto-en.texi : ${ASIRLIB}/glib gentexi
1.39 takayama 316: $(RM) -f glib-auto-en.texi
1.37 noro 317: cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --en --upnode "Graphic Library (2 dimensional)" ${OPTGENTEXI} >glib-auto-en.texi
1.29 takayama 318: glib-auto-ja.texi : ${ASIRLIB}/glib gentexi
1.39 takayama 319: $(RM) -f glib-auto-ja.texi
1.40 takayama 320: cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --ja --upnode "Graphic Library (2 dimensional)" ${OPTGENTEXI} >glib-auto-ja.texi
1.29 takayama 321:
1.31 takayama 322: ###pfp
323: pfp-ja.texi : pfp.oxweave
1.39 takayama 324: $(RM) -f pfp-ja.texi
1.31 takayama 325: $(OXWEAVE) C ja <pfp.oxweave >pfp-ja.texi
326: pfp-en.texi : pfp.oxweave
1.39 takayama 327: $(RM) -f pfp-en.texi
1.31 takayama 328: $(OXWEAVE) C en <pfp.oxweave >pfp-en.texi
329: pfp-auto-en.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi
1.39 takayama 330: $(RM) -f pfp-auto-en.texi
1.37 noro 331: cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --en --upnode Pfpcohom ${OPTGENTEXI} >pfp-auto-en.texi
1.31 takayama 332: pfp-auto-ja.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi
1.39 takayama 333: $(RM) -f pfp-auto-ja.texi
1.40 takayama 334: cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --ja --upnode Pfpcohom ${OPTGENTEXI} >pfp-auto-ja.texi
1.29 takayama 335:
1.41 takayama 336: ###util
337: util-ja.texi : util.oxweave
338: $(RM) -f util-ja.texi
339: $(OXWEAVE) C ja <util.oxweave >util-ja.texi
340: util-en.texi : util.oxweave
341: $(RM) -f util-en.texi
342: $(OXWEAVE) C en <util.oxweave >util-en.texi
343: util-auto-en.texi : $(CONTRIB)/names.rr gentexi
344: $(RM) -f util-auto-en.texi
345: cat ${CONTRIB}/names.rr | $(OXWEAVE) usage | ./gentexi --category util --en --upnode "Utility Functions" ${OPTGENTEXI} >util-auto-en.texi
346: util-auto-ja.texi : $(CONTRIB)/names.rr gentexi
347: $(RM) -f util-auto-ja.texi
348: cat ${CONTRIB}/names.rr | $(OXWEAVE) usage | ./gentexi --category util --ja --upnode "Utility Functions" ${OPTGENTEXI} >util-auto-ja.texi
349:
1.32 takayama 350: ###### Generating online manual
1.33 takayama 351: gen-help-en: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO)
1.39 takayama 352: -$(RM) -rf tmp help-en
1.33 takayama 353: mkdir help-en tmp
354: cp cman-en.texi $(EGSRCS) $(ENAUTO) tmp
355: -(cd tmp; makeinfo --force cman-en.texi)
356: (cd help-en; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.14 takayama 357: ## duplicate some help files
1.33 takayama 358: -(cd help-en; cp sm1_hilbert hilbert_polynomial)
1.3 noro 359:
1.33 takayama 360: gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO)
1.39 takayama 361: -$(RM) -rf tmp-ja help-ja
1.33 takayama 362: mkdir help-ja tmp-ja
363: for i in cman-ja.texi $(JPSRCS) $(JAAUTO); do nkf -e $$i > tmp-ja/$$i; done
364: -(cd tmp-ja; makeinfo --force cman-ja.texi)
365: (cd help-ja; for i in ../tmp-ja/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done)
1.14 takayama 366: ## duplicate some help files
1.33 takayama 367: -(cd help-ja; cp sm1_hilbert hilbert_polynomial)
1.3 noro 368:
1.33 takayama 369: gen-html-en: gen-help-en
1.39 takayama 370: -$(RM) -rf html-en
1.15 takayama 371: -mkdir html-en
372: -cp tmp/*.texi html-en
1.33 takayama 373: -(cd html-en; ${TEXI2HTML} cman-en.texi)
1.15 takayama 374:
1.33 takayama 375: gen-html-ja: gen-help-ja
1.15 takayama 376: -mkdir html-ja
1.18 takayama 377: -cp tmp-ja/*.texi html-ja
1.33 takayama 378: -cp tmp-ja/cman-ja.texi html-ja/cman-ja.texi
1.15 takayama 379: -(cd html-ja; ${TEXI2HTML} cman-ja.texi)
380:
1.33 takayama 381: help: gen-help-en gen-help-ja
1.4 takayama 382:
383: install-help: help
1.39 takayama 384: $(RM) -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.5 takayama 385: mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.33 takayama 386: -cp -f help-ja/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.39 takayama 387: $(RM) -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5 takayama 388: mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.33 takayama 389: -cp -f help-en/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5 takayama 390:
1.18 takayama 391: install-html-help: gen-html-en gen-html-ja
1.15 takayama 392: -( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
393: -( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -))
394:
1.36 takayama 395: install-document : gen-dvi-ps
396: -cp cman-ja.dvi $(OpenXM_doc)/asir-contrib/cman-ja.dvi
397: -$(DVIPS) cman-ja >$(OpenXM_doc)/asir-contrib/cman-ja.ps
398: -cp cman-en.dvi $(OpenXM_doc)/asir-contrib/cman-en.dvi
399: -$(DVIPS) cman-en >$(OpenXM_doc)/asir-contrib/cman-en.ps
1.39 takayama 400: gen-dvi-ps: all clean-mk-openxm-asir-contrib-document-dir cman-ja.dvi cman-en.dvi
401: cman-ja.dvi: $(JPSRCS)
1.33 takayama 402: -ptex cman-ja.texi
403: -ptex cman-ja.texi
1.39 takayama 404: cman-en.dvi: $(ENSRCS)
1.33 takayama 405: -tex cman-en.texi
406: -tex cman-en.texi
1.5 takayama 407:
408:
1.39 takayama 409: clean-mk-openxm-asir-contrib-document-dir :
410: $(RM) -rf $(OpenXM_doc)/asir-contrib
411: $(RM) -f ./.done_install
1.5 takayama 412: mkdir $(OpenXM_doc)/asir-contrib
413: touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
414:
1.3 noro 415:
1.1 takayama 416: clean :
1.39 takayama 417: $(RM) -f ./.done_install
418: $(RM) -f gentexi $(JAAUTO) $(ENAUTO) gentexi-in.tmp gentexi-out.tmp
1.43 takayama 419: $(RM) -f oxrfc100-ja.texi oxrfc100-en.texi oxmath-ja.texi *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr oxmath-en.texi oxphc-ja.texi oxphc-en.texi oxgnuplot-ja.texi oxgnuplot-en.texi oxsm1-ja.texi oxsm1-en.texi oxom-en.texi oxom-ja.texi dsolv-ja.texi dsolv-en.texi longname-ja.texi longname-en.texi oxtigers-ja.texi oxtigers-en.texi names-ja.texi names-en.texi hypergeometric-ja.texi hypergeometric-en.texi number-en.texi number-ja.texi calculus-en.texi calculus-ja.texi series-en.texi series-ja.texi matrix-en.texi matrix-ja.texi graphic-en.texi graphic-ja.texi print-en.texi print-ja.texi poly-en.texi poly-ja.texi complex-en.texi complex-ja.texi plucker-ja.texi plucker-en.texi base-ja.texi base-en.texi glib-ja.texi glib-en.texi misc-ja.texi misc-en.texi pfp-ja.texi pfp-en.texi windows-ja.texi windows-en.texi intro-ja.texi intro-en.texi util-en.texi util-ja.texi
1.39 takayama 420: $(RM) -rf help-ja help-en tmp tmp-ja html-en html-ja
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>