=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/Attic/Makefile,v retrieving revision 1.16 retrieving revision 1.23 diff -u -p -r1.16 -r1.23 --- OpenXM/src/asir-contrib/packages/doc/Attic/Makefile 2001/05/27 11:00:05 1.16 +++ OpenXM/src/asir-contrib/packages/doc/Attic/Makefile 2002/01/27 08:18:52 1.23 @@ -1,4 +1,4 @@ -#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.15 2001/05/27 08:48:07 takayama Exp $ +#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.22 2002/01/27 07:13:28 takayama Exp $ # targets # all : # Extracts all tex-info files from ../src/* @@ -15,18 +15,34 @@ OpenXM_ROOT=../../../../../OpenXM ASIRDOC=$(OpenXM_ROOT)/src/asir-doc ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib CONTRIB=$(OpenXM_ROOT)/src/asir-contrib/packages/src +OPTGENTEXI= --include +#OPTGENTEXI= --include --example ## PS documents are installed under $(OpenXM_doc)/asir-contrib OpenXM_doc=$(OpenXM_ROOT)/doc DVIPS=dvips -f OXWEAVE= ../../../kxx/oxweave TEXI2HTML=texi2html -menu -split_node -JPSRCS= oxxm.texi oxmath.texi oxphc.texi oxgnuplot.texi oxsm1.texi oxom.texi dsolv-jp.texi longname-jp.texi oxtigers-jp.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 -EGSRCS= oxxm-eg.texi oxmath-eg.texi oxphc-eg.texi oxgnuplot-eg.texi oxsm1-eg.texi oxom-eg.texi dsolv-eg.texi longname-eg.texi oxtigers-eg.texi names-en.texi hypergeometric-en.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 +JPSRCS= oxxm.texi oxmath.texi oxphc.texi oxgnuplot.texi oxsm1.texi oxom.texi dsolv-jp.texi longname-jp.texi oxtigers-jp.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.texi Diff.texi Dmodule.texi Matrix.texi base-ja.texi +EGSRCS= oxxm-eg.texi oxmath-eg.texi oxphc-eg.texi oxgnuplot-eg.texi oxsm1-eg.texi oxom-eg.texi dsolv-eg.texi longname-eg.texi oxtigers-eg.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-eg.texi cman-eg.texi base-en.texi -all : $(JPSRCS) $(EGSRCS) -install : install-document install-help +JAAUTO=base-auto-ja.texi +ENAUTO=base-auto-en.texi +all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) +install : install-document install-help install-html-help + +gentexi : gentexi.c + gcc -o gentexi gentexi.c + +base-ja.texi : base.oxweave + /bin/rm -f base-ja.texi + $(OXWEAVE) C ja base-ja.texi + +base-en.texi : base.oxweave + /bin/rm -f base-en.texi + $(OXWEAVE) C en base-en.texi + names-ja.texi : names.oxweave /bin/rm -f names-ja.texi $(OXWEAVE) C ja names-ja.texi @@ -35,6 +51,14 @@ names-en.texi : names.oxweave /bin/rm -f names-en.texi $(OXWEAVE) C en names-en.texi +plucker-ja.texi : plucker.oxweave + /bin/rm -f plucker-ja.texi + $(OXWEAVE) C ja plucker-ja.texi + +plucker-en.texi : plucker.oxweave + /bin/rm -f plucker-en.texi + $(OXWEAVE) C en plucker-en.texi + hypergeometric-ja.texi : hypergeometric.oxweave /bin/rm -f hypergeometric-ja.texi $(OXWEAVE) C ja hypergeometric-ja.texi @@ -140,13 +164,13 @@ oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile /bin/rm -f oxgnuplot-eg.texi $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi -oxsm1.texi : $(CONTRIB)/sm1 Makefile +oxsm1.texi : sm1.oxweave Makefile /bin/rm -f oxsm1.texi - $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/sm1 >oxsm1.texi + $(OXWEAVE) C-texi jp-texi oxsm1.texi -oxsm1-eg.texi : $(CONTRIB)/sm1 Makefile +oxsm1-eg.texi : sm1.oxweave Makefile /bin/rm -f oxsm1-eg.texi - $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/sm1 >oxsm1-eg.texi + $(OXWEAVE) C-texi eg-texi oxsm1-eg.texi oxom.texi : $(CONTRIB)/om Makefile /bin/rm -f oxom.texi @@ -180,37 +204,47 @@ oxtigers-eg.texi : $(CONTRIB)/tigers Makefile /bin/rm -f oxtigers-eg.texi $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/tigers >oxtigers-eg.texi -help-eg: $(EGSRCS) $(ASIRDOC)/extract_func +### Generating *auto*.texi cf. JAAUTO, ENAUTO +base-auto-en.texi : $(CONTRIB)/names.rr gentexi + rm -f base-auto-en.texi + $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --en --upnode Top ${OPTGENTEXI} >base-auto-en.texi + +base-auto-ja.texi : $(CONTRIB)/names.rr gentexi + rm -f base-auto-ja.texi + $(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --ja --upnode Top ${OPTGENTEXI} >base-auto-ja.texi + +### Generating online manual +gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) -rm -rf tmp help-eg mkdir help-eg tmp - cp cman-eg.texi $(EGSRCS) tmp + cp cman-eg.texi $(EGSRCS) $(ENAUTO) tmp -(cd tmp; makeinfo --force cman-eg.texi) (cd help-eg; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done) ## duplicate some help files -(cd help-eg; cp sm1_hilbert hilbert_polynomial) -help-jp: $(JPSRCS) $(ASIRDOC)/extract_func - -rm -rf tmp help-jp - mkdir help-jp tmp - for i in cman.texi $(JPSRCS); do nkf -e $$i > tmp/$$i; done - -(cd tmp; makeinfo --force cman.texi) - (cd help-jp; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done) +gen-help-jp: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) + -rm -rf tmp-ja help-jp + mkdir help-jp tmp-ja + for i in cman.texi $(JPSRCS) $(JAAUTO); do nkf -e $$i > tmp-ja/$$i; done + -(cd tmp-ja; makeinfo --force cman.texi) + (cd help-jp; for i in ../tmp-ja/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done) ## duplicate some help files -(cd help-jp; cp sm1_hilbert hilbert_polynomial) -html-en: help-eg +gen-html-en: gen-help-eg -rm -rf html-en -mkdir html-en -cp tmp/*.texi html-en -(cd html-en; ${TEXI2HTML} cman-eg.texi) -html-ja: help-jp +gen-html-ja: gen-help-jp -mkdir html-ja - -cp tmp/*.texi html-ja - -cp tmp/cman.texi html-ja/cman-ja.texi + -cp tmp-ja/*.texi html-ja + -cp tmp-ja/cman.texi html-ja/cman-ja.texi -(cd html-ja; ${TEXI2HTML} cman-ja.texi) -help: help-eg help-jp +help: gen-help-eg gen-help-jp install-help: help /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help @@ -220,7 +254,7 @@ install-help: help mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help -cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help -install-html-help: html-en html-ja +install-html-help: gen-html-en gen-html-ja -( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) -( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) @@ -242,5 +276,6 @@ clean-document : clean : - /bin/rm -f oxxm.texi oxxm-eg.texi oxmath.texi *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr oxmath-eg.texi oxphc.texi oxphc-eg.texi oxgnuplot.texi oxgnuplot-eg.texi oxsm1.texi oxsm1-eg.texi oxom-eg.texi oxom.texi dsolv-jp.texi dsolv-eg.texi longname-jp.texi longname-eg.texi oxtigers-jp.texi oxtigers-eg.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 - /bin/rm -rf help-jp help-eg tmp html-en html-ja + rm -f gentexi $(JAAUTO) $(ENAUTO) gentexi-in.tmp gentexi-out.tmp + rm -f oxxm.texi oxxm-eg.texi oxmath.texi *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr oxmath-eg.texi oxphc.texi oxphc-eg.texi oxgnuplot.texi oxgnuplot-eg.texi oxsm1.texi oxsm1-eg.texi oxom-eg.texi oxom.texi dsolv-jp.texi dsolv-eg.texi longname-jp.texi longname-eg.texi oxtigers-jp.texi oxtigers-eg.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 + /bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja