version 1.45, 2003/05/19 05:15:52 |
version 1.53, 2004/03/05 15:30:50 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.44 2003/05/18 09:57:33 takayama Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.52 2004/03/05 14:43:36 ohara Exp $ |
# targets |
# targets |
# all : |
# all : |
# Extracts all tex-info files from ../src/* and generate *.texi files. |
# Extracts all tex-info files from ../src/* and generate *.texi files. |
# install : install-document install-help |
# install : install-help |
# install-help : all |
# install-help : all |
# Installing online help to OpenXM/lib/asir/help-* |
# Installing online help to OpenXM/lib/asir/help-* |
# install-document : all gen-dvi-ps |
# install-document : all gen-dvi-ps |
|
|
# Copy html help to OpenXM/doc/asir-contrib |
# Copy html help to OpenXM/doc/asir-contrib |
# gen-html-en gen-html-ja |
# gen-html-en gen-html-ja |
# Generate HTML documents under html-en and html-ja |
# Generate HTML documents under html-en and html-ja |
|
# gen-help-en gen-help-ja |
|
# Generate help files. |
# gen-dvi-ps |
# gen-dvi-ps |
# Generate dvi and ps files. |
# Generate dvi and ps files. |
# |
# |
Line 39 OPTGENTEXI= --include |
|
Line 41 OPTGENTEXI= --include |
|
## PS documents are installed under $(OpenXM_doc)/asir-contrib |
## PS documents are installed under $(OpenXM_doc)/asir-contrib |
OpenXM_doc=$(OpenXM_ROOT)/doc |
OpenXM_doc=$(OpenXM_ROOT)/doc |
DVIPS=dvips -f |
DVIPS=dvips -f |
OXWEAVE= ../../../kxx/oxweave |
OXWEAVE=$(OpenXM_ROOT)/bin/oxweave |
TEXI2HTML=texi2html -menu -split_node |
TEXI2HTML=texi2html -menu -split_node |
RM=rm |
RM=rm |
|
|
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 |
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 |
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 |
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 |
|
|
JAAUTO=base-auto-ja.texi pfp-auto-ja.texi poly-auto-ja.texi \ |
JAAUTO=base-auto-ja.texi pfp-auto-ja.texi poly-auto-ja.texi \ |
print-auto-ja.texi matrix-auto-ja.texi glib-auto-ja.texi \ |
print-auto-ja.texi matrix-auto-ja.texi glib-auto-ja.texi \ |
|
|
echo "NOTE: Installation is already done. Remove .done_install for a new installation." ; \ |
echo "NOTE: Installation is already done. Remove .done_install for a new installation." ; \ |
fi |
fi |
|
|
install2 : install-document install-help install-html-help |
install-document : install-html-help |
|
@if [ ! -f ./.done_install_document ] ; \ |
|
then \ |
|
make install-document2 ; \ |
|
touch ./.done_install_document ; \ |
|
else \ |
|
echo "NOTE: Installation of document is already done. Remove .done_install_document for a new installation." ; \ |
|
fi |
|
|
|
|
|
install2 : install-help |
|
|
gentexi : gentexi.c |
gentexi : gentexi.c |
gcc -o gentexi gentexi.c |
gcc -o gentexi gentexi.c |
|
|
Line 210 complex-en.texi : complex.oxweave |
|
Line 222 complex-en.texi : complex.oxweave |
|
|
|
oxrfc100-ja.texi : oxrfc100.oxweave Makefile |
oxrfc100-ja.texi : oxrfc100.oxweave Makefile |
$(RM) -f oxrfc100-ja.texi |
$(RM) -f oxrfc100-ja.texi |
$(OXWEAVE) C-texi jp-texi <oxrfc100.oxweave >oxrfc100-ja.texi |
$(OXWEAVE) C-texi ja <oxrfc100.oxweave >oxrfc100-ja.texi |
|
|
oxrfc100-en.texi : oxrfc100.oxweave Makefile |
oxrfc100-en.texi : oxrfc100.oxweave Makefile |
$(RM) -f oxrfc100-en.texi |
$(RM) -f oxrfc100-en.texi |
$(OXWEAVE) C-texi eg-texi <oxrfc100.oxweave >oxrfc100-en.texi |
$(OXWEAVE) C-texi en <oxrfc100.oxweave >oxrfc100-en.texi |
|
|
oxmath-ja.texi : m.oxweave Makefile |
oxmath-ja.texi : m.oxweave Makefile |
$(RM) -f oxmath-ja.texi |
$(RM) -f oxmath-ja.texi |
$(OXWEAVE) C-texi jp-texi <m.oxweave >oxmath-ja.texi |
$(OXWEAVE) C-texi ja <m.oxweave >oxmath-ja.texi |
|
|
oxmath-en.texi : m.oxweave Makefile |
oxmath-en.texi : m.oxweave Makefile |
$(RM) -f oxmath-en.texi |
$(RM) -f oxmath-en.texi |
$(OXWEAVE) C-texi eg-texi <m.oxweave >oxmath-en.texi |
$(OXWEAVE) C-texi en <m.oxweave >oxmath-en.texi |
|
|
oxphc-ja.texi : phc.oxweave Makefile |
oxphc-ja.texi : phc.oxweave Makefile |
$(RM) -f oxphc-ja.texi |
$(RM) -f oxphc-ja.texi |
$(OXWEAVE) C-texi jp-texi <phc.oxweave >oxphc-ja.texi |
$(OXWEAVE) C-texi ja <phc.oxweave >oxphc-ja.texi |
|
|
oxphc-en.texi : phc.oxweave Makefile |
oxphc-en.texi : phc.oxweave Makefile |
$(RM) -f oxphc-en.texi |
$(RM) -f oxphc-en.texi |
$(OXWEAVE) C-texi eg-texi <phc.oxweave >oxphc-en.texi |
$(OXWEAVE) C-texi en <phc.oxweave >oxphc-en.texi |
|
|
oxgnuplot-ja.texi : gnuplot.oxweave Makefile |
oxgnuplot-ja.texi : gnuplot.oxweave Makefile |
$(RM) -f oxgnuplot-ja.texi |
$(RM) -f oxgnuplot-ja.texi |
$(OXWEAVE) C-texi jp-texi <gnuplot.oxweave >oxgnuplot-ja.texi |
$(OXWEAVE) C-texi ja <gnuplot.oxweave >oxgnuplot-ja.texi |
|
|
oxgnuplot-en.texi : gnuplot.oxweave Makefile |
oxgnuplot-en.texi : gnuplot.oxweave Makefile |
$(RM) -f oxgnuplot-en.texi |
$(RM) -f oxgnuplot-en.texi |
$(OXWEAVE) C-texi eg-texi <gnuplot.oxweave >oxgnuplot-en.texi |
$(OXWEAVE) C-texi en <gnuplot.oxweave >oxgnuplot-en.texi |
|
|
###sm1 |
###sm1 |
oxsm1-ja.texi : sm1.oxweave Makefile sm1-auto-ja.texi |
oxsm1-ja.texi : sm1.oxweave Makefile sm1-auto-ja.texi |
$(RM) -f oxsm1-ja.texi |
$(RM) -f oxsm1-ja.texi |
$(OXWEAVE) C-texi jp-texi <sm1.oxweave >oxsm1-ja.texi |
$(OXWEAVE) C-texi ja <sm1.oxweave >oxsm1-ja.texi |
oxsm1-en.texi : sm1.oxweave Makefile sm1-auto-en.texi |
oxsm1-en.texi : sm1.oxweave Makefile sm1-auto-en.texi |
$(RM) -f oxsm1-en.texi |
$(RM) -f oxsm1-en.texi |
$(OXWEAVE) C-texi eg-texi <sm1.oxweave >oxsm1-en.texi |
$(OXWEAVE) C-texi en <sm1.oxweave >oxsm1-en.texi |
sm1-auto-en.texi : $(CONTRIB)/sm1 gentexi |
sm1-auto-en.texi : $(CONTRIB)/sm1 gentexi |
$(RM) -f sm1-auto-en.texi |
$(RM) -f sm1-auto-en.texi |
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-en.texi |
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-en.texi |
sm1-auto-ja.texi : $(CONTRIB)/names.rr gentexi |
sm1-auto-ja.texi : $(CONTRIB)/sm1 gentexi |
$(RM) -f sm1-auto-ja.texi |
$(RM) -f sm1-auto-ja.texi |
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-ja.texi |
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto-ja.texi |
|
|
oxom-ja.texi : $(CONTRIB)/om Makefile |
oxom-ja.texi : $(CONTRIB)/om Makefile |
$(RM) -f oxom-ja.texi |
$(RM) -f oxom-ja.texi |
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/om >oxom-ja.texi |
$(OXWEAVE) C-texi ja <$(CONTRIB)/om >oxom-ja.texi |
|
|
oxom-en.texi : $(CONTRIB)/om Makefile |
oxom-en.texi : $(CONTRIB)/om Makefile |
$(RM) -f oxom-en.texi |
$(RM) -f oxom-en.texi |
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/om >oxom-en.texi |
$(OXWEAVE) C-texi en <$(CONTRIB)/om >oxom-en.texi |
|
|
dsolv-ja.texi : dsolv.oxweave Makefile |
dsolv-ja.texi : dsolv.oxweave Makefile |
$(RM) -f dsolv-ja.texi |
$(RM) -f dsolv-ja.texi |
$(OXWEAVE) C-texi jp-texi <dsolv.oxweave >dsolv-ja.texi |
$(OXWEAVE) C-texi ja <dsolv.oxweave >dsolv-ja.texi |
|
|
dsolv-en.texi : dsolv.oxweave Makefile |
dsolv-en.texi : dsolv.oxweave Makefile |
$(RM) -f dsolv-en.texi |
$(RM) -f dsolv-en.texi |
$(OXWEAVE) C-texi eg-texi <dsolv.oxweave >dsolv-en.texi |
$(OXWEAVE) C-texi en <dsolv.oxweave >dsolv-en.texi |
|
|
|
|
oxtigers-ja.texi : tigers.oxweave Makefile |
oxtigers-ja.texi : tigers.oxweave Makefile |
$(RM) -f oxtigers-ja.texi |
$(RM) -f oxtigers-ja.texi |
$(OXWEAVE) C-texi jp-texi <tigers.oxweave >oxtigers-ja.texi |
$(OXWEAVE) C-texi ja <tigers.oxweave >oxtigers-ja.texi |
|
|
oxtigers-en.texi : tigers.oxweave Makefile |
oxtigers-en.texi : tigers.oxweave Makefile |
$(RM) -f oxtigers-en.texi |
$(RM) -f oxtigers-en.texi |
$(OXWEAVE) C-texi eg-texi <tigers.oxweave >oxtigers-en.texi |
$(OXWEAVE) C-texi en <tigers.oxweave >oxtigers-en.texi |
|
|
### windows |
### windows |
windows-ja.texi : windows.oxweave Makefile |
windows-ja.texi : windows.oxweave Makefile |
Line 354 gen-help-en: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUT |
|
Line 366 gen-help-en: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUT |
|
cp cman-en.texi $(EGSRCS) $(ENAUTO) tmp |
cp cman-en.texi $(EGSRCS) $(ENAUTO) tmp |
-(cd tmp; makeinfo --force cman-en.texi) |
-(cd tmp; makeinfo --force cman-en.texi) |
(cd help-en; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done) |
(cd help-en; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done) |
## duplicate some help files |
|
-(cd help-en; cp sm1_hilbert hilbert_polynomial) |
|
|
|
gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) |
gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) |
-$(RM) -rf tmp-ja help-ja |
-$(RM) -rf tmp-ja help-ja |
Line 363 gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUT |
|
Line 373 gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUT |
|
for i in cman-ja.texi $(JPSRCS) $(JAAUTO); do nkf -e $$i > tmp-ja/$$i; done |
for i in cman-ja.texi $(JPSRCS) $(JAAUTO); do nkf -e $$i > tmp-ja/$$i; done |
-(cd tmp-ja; makeinfo --force cman-ja.texi) |
-(cd tmp-ja; makeinfo --force cman-ja.texi) |
(cd help-ja; for i in ../tmp-ja/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done) |
(cd help-ja; for i in ../tmp-ja/asir-contrib*; do ../$(ASIRDOC)/extract_func -j $$i; done) |
## duplicate some help files |
|
-(cd help-ja; cp sm1_hilbert hilbert_polynomial) |
|
|
|
gen-html-en: gen-help-en |
gen-html-en: gen-help-en |
-$(RM) -rf html-en |
-$(RM) -rf html-en |
Line 389 install-help: help |
|
Line 397 install-help: help |
|
-cp -f help-en/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help |
-cp -f help-en/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help |
|
|
install-html-help: gen-html-en gen-html-ja |
install-html-help: gen-html-en gen-html-ja |
|
-mkdir $(OpenXM_doc)/asir-contrib |
-( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) |
-( tar cf - html-en | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) |
-( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) |
-( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) |
|
|
install-document : gen-dvi-ps |
install-document2 : gen-dvi-ps |
|
-mkdir $(OpenXM_doc)/asir-contrib |
-cp cman-ja.dvi $(OpenXM_doc)/asir-contrib/cman-ja.dvi |
-cp cman-ja.dvi $(OpenXM_doc)/asir-contrib/cman-ja.dvi |
-$(DVIPS) cman-ja >$(OpenXM_doc)/asir-contrib/cman-ja.ps |
-$(DVIPS) cman-ja >$(OpenXM_doc)/asir-contrib/cman-ja.ps |
-cp cman-en.dvi $(OpenXM_doc)/asir-contrib/cman-en.dvi |
-cp cman-en.dvi $(OpenXM_doc)/asir-contrib/cman-en.dvi |
Line 408 cman-en.dvi: $(ENSRCS) |
|
Line 418 cman-en.dvi: $(ENSRCS) |
|
|
|
clean-mk-openxm-asir-contrib-document-dir : |
clean-mk-openxm-asir-contrib-document-dir : |
$(RM) -rf $(OpenXM_doc)/asir-contrib |
$(RM) -rf $(OpenXM_doc)/asir-contrib |
$(RM) -f ./.done_install |
$(RM) -f ./.done_install ./.done_install_document |
mkdir $(OpenXM_doc)/asir-contrib |
mkdir $(OpenXM_doc)/asir-contrib |
touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
|
|
|
|
clean : |
clean : |
$(RM) -f ./.done_install |
$(RM) -f ./.done_install ./.done_install_document |
$(RM) -f gentexi $(JAAUTO) $(ENAUTO) gentexi-in.tmp gentexi-out.tmp |
$(RM) -f gentexi $(JAAUTO) $(ENAUTO) gentexi-in.tmp gentexi-out.tmp |
$(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 |
$(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 |
$(RM) -rf help-ja help-en tmp tmp-ja html-en html-ja |
$(RM) -rf help-ja help-en tmp tmp-ja html-en html-ja |