![]() ![]() | ![]() |
version 1.29, 2002/07/14 07:10:02 | version 1.34, 2002/08/03 13:14:18 | ||
---|---|---|---|
|
|
||
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.28 2002/04/07 07:18:49 takayama Exp $ | #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.33 2002/07/29 02:56:27 takayama 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. | ||
|
|
||
# (JAAUTO, ENAUTO) | # (JAAUTO, ENAUTO) | ||
# xxx-auto*.texi's are extracted from xxx or xxx.rr | # xxx-auto*.texi's are extracted from xxx or xxx.rr | ||
# (3) xxx-en.texi and xxx-ja.texi should be included from cman.texi | # (3) xxx-en.texi and xxx-ja.texi should be included from cman.texi | ||
# and cman-eg.texi | # and cman-en.texi | ||
# cf. glib* base* | # cf. glib* base* | ||
######################################################################## | ######################################################################## | ||
OpenXM_ROOT=../../../../../OpenXM | OpenXM_ROOT=../../../../../OpenXM | ||
|
|
||
OXWEAVE= ../../../kxx/oxweave | OXWEAVE= ../../../kxx/oxweave | ||
TEXI2HTML=texi2html -menu -split_node | 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 intro.texi Diff.texi Dmodule.texi Matrix.texi base-ja.texi misc-ja.texi glib-ja.texi | JPSRCS= oxxm-ja.texi oxmath-ja.texi oxphc-ja.texi oxgnuplot-ja.texi oxsm1-ja.texi oxom-ja.texi dsolv-ja.texi longname-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 Matrix-ja.texi base-ja.texi misc-ja.texi glib-ja.texi pfp-ja.texi plucker-ja.texi windows-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 misc-en.texi glib-en.texi | EGSRCS= oxxm-en.texi oxmath-en.texi oxphc-en.texi oxgnuplot-en.texi oxsm1-en.texi oxom-en.texi dsolv-en.texi longname-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 | ||
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 \ | ||
sm1-auto-ja.texi plucker-auto-ja.texi | |||
ENAUTO=base-auto-en.texi pfp-auto-en.texi poly-auto-en.texi \ | ENAUTO=base-auto-en.texi pfp-auto-en.texi poly-auto-en.texi \ | ||
print-auto-en.texi matrix-auto-en.texi glib-auto-en.texi | print-auto-en.texi matrix-auto-en.texi glib-auto-en.texi \ | ||
sm1-auto-en.texi plucker-auto-en.texi | |||
all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) | all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) | ||
@echo "Type in tex cman-en.texi to generate the manual(en) in dvi format." | |||
@echo "Type in ptex cman-ja.texi to generate the manual(ja) in dvi format." | |||
install : | install : | ||
@if [ ! -f ./.done_install ] ; \ | @if [ ! -f ./.done_install ] ; \ | ||
then \ | then \ | ||
|
|
||
gentexi : gentexi.c | gentexi : gentexi.c | ||
gcc -o gentexi gentexi.c | gcc -o gentexi gentexi.c | ||
###base | |||
base-ja.texi : base.oxweave | base-ja.texi : base.oxweave | ||
/bin/rm -f base-ja.texi | /bin/rm -f base-ja.texi | ||
$(OXWEAVE) C ja <base.oxweave >base-ja.texi | $(OXWEAVE) C ja <base.oxweave >base-ja.texi | ||
base-en.texi : base.oxweave | base-en.texi : base.oxweave | ||
/bin/rm -f base-en.texi | /bin/rm -f base-en.texi | ||
$(OXWEAVE) C en <base.oxweave >base-en.texi | $(OXWEAVE) C en <base.oxweave >base-en.texi | ||
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 | |||
names-ja.texi : names.oxweave | names-ja.texi : names.oxweave | ||
/bin/rm -f names-ja.texi | /bin/rm -f names-ja.texi | ||
$(OXWEAVE) C ja <names.oxweave >names-ja.texi | $(OXWEAVE) C ja <names.oxweave >names-ja.texi | ||
|
|
||
/bin/rm -f names-en.texi | /bin/rm -f names-en.texi | ||
$(OXWEAVE) C en <names.oxweave >names-en.texi | $(OXWEAVE) C en <names.oxweave >names-en.texi | ||
###plucker | |||
plucker-ja.texi : plucker.oxweave | plucker-ja.texi : plucker.oxweave | ||
/bin/rm -f plucker-ja.texi | /bin/rm -f plucker-ja.texi | ||
$(OXWEAVE) C ja <plucker.oxweave >plucker-ja.texi | $(OXWEAVE) C ja <plucker.oxweave >plucker-ja.texi | ||
plucker-en.texi : plucker.oxweave | plucker-en.texi : plucker.oxweave | ||
/bin/rm -f plucker-en.texi | /bin/rm -f plucker-en.texi | ||
$(OXWEAVE) C en <plucker.oxweave >plucker-en.texi | $(OXWEAVE) C en <plucker.oxweave >plucker-en.texi | ||
plucker-auto-en.texi : $(CONTRIB)/plucker.rr gentexi | |||
rm -f plucker-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/plucker.rr | ./gentexi --category plucker --en --upnode Top ${OPTGENTEXI} >plucker-auto-en.texi | |||
plucker-auto-ja.texi : $(CONTRIB)/plucker.rr gentexi | |||
rm -f plucker-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/plucker.rr | ./gentexi --category plucker --ja --upnode Top ${OPTGENTEXI} >plucker-auto-ja.texi | |||
hypergeometric-ja.texi : hypergeometric.oxweave | hypergeometric-ja.texi : hypergeometric.oxweave | ||
/bin/rm -f hypergeometric-ja.texi | /bin/rm -f hypergeometric-ja.texi | ||
|
|
||
/bin/rm -f series-en.texi | /bin/rm -f series-en.texi | ||
$(OXWEAVE) C en <series.oxweave >series-en.texi | $(OXWEAVE) C en <series.oxweave >series-en.texi | ||
### matrix | |||
matrix-ja.texi : matrix.oxweave | matrix-ja.texi : matrix.oxweave | ||
/bin/rm -f matrix-ja.texi | /bin/rm -f matrix-ja.texi | ||
$(OXWEAVE) C ja <matrix.oxweave >matrix-ja.texi | $(OXWEAVE) C ja <matrix.oxweave >matrix-ja.texi | ||
matrix-en.texi : matrix.oxweave | matrix-en.texi : matrix.oxweave | ||
/bin/rm -f matrix-en.texi | /bin/rm -f matrix-en.texi | ||
$(OXWEAVE) C en <matrix.oxweave >matrix-en.texi | $(OXWEAVE) C en <matrix.oxweave >matrix-en.texi | ||
matrix-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f matrix-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --en --upnode Top ${OPTGENTEXI} >matrix-auto-en.texi | |||
matrix-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f matrix-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --ja --upnode Top ${OPTGENTEXI} >matrix-auto-ja.texi | |||
graphic-ja.texi : graphic.oxweave | graphic-ja.texi : graphic.oxweave | ||
/bin/rm -f graphic-ja.texi | /bin/rm -f graphic-ja.texi | ||
$(OXWEAVE) C ja <graphic.oxweave >graphic-ja.texi | $(OXWEAVE) C ja <graphic.oxweave >graphic-ja.texi | ||
|
|
||
/bin/rm -f graphic-en.texi | /bin/rm -f graphic-en.texi | ||
$(OXWEAVE) C en <graphic.oxweave >graphic-en.texi | $(OXWEAVE) C en <graphic.oxweave >graphic-en.texi | ||
print-ja.texi : print.oxweave | print-ja.texi : print.oxweave | ||
/bin/rm -f print-ja.texi | /bin/rm -f print-ja.texi | ||
$(OXWEAVE) C ja <print.oxweave >print-ja.texi | $(OXWEAVE) C ja <print.oxweave >print-ja.texi | ||
print-en.texi : print.oxweave | print-en.texi : print.oxweave | ||
/bin/rm -f print-en.texi | /bin/rm -f print-en.texi | ||
$(OXWEAVE) C en <print.oxweave >print-en.texi | $(OXWEAVE) C en <print.oxweave >print-en.texi | ||
print-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f print-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --en --upnode Top ${OPTGENTEXI} >print-auto-en.texi | |||
print-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f print-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --ja --upnode Top ${OPTGENTEXI} >print-auto-ja.texi | |||
###poly | |||
poly-ja.texi : poly.oxweave | poly-ja.texi : poly.oxweave | ||
/bin/rm -f poly-ja.texi | /bin/rm -f poly-ja.texi | ||
$(OXWEAVE) C ja <poly.oxweave >poly-ja.texi | $(OXWEAVE) C ja <poly.oxweave >poly-ja.texi | ||
poly-en.texi : poly.oxweave | poly-en.texi : poly.oxweave | ||
/bin/rm -f poly-en.texi | /bin/rm -f poly-en.texi | ||
$(OXWEAVE) C en <poly.oxweave >poly-en.texi | $(OXWEAVE) C en <poly.oxweave >poly-en.texi | ||
poly-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f poly-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --en --upnode Top ${OPTGENTEXI} >poly-auto-en.texi | |||
poly-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f poly-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --ja --upnode Top ${OPTGENTEXI} >poly-auto-ja.texi | |||
complex-ja.texi : complex.oxweave | complex-ja.texi : complex.oxweave | ||
/bin/rm -f complex-ja.texi | /bin/rm -f complex-ja.texi | ||
|
|
||
$(OXWEAVE) C en <complex.oxweave >complex-en.texi | $(OXWEAVE) C en <complex.oxweave >complex-en.texi | ||
oxxm.texi : $(ASIRLIB)/xm Makefile | oxxm-ja.texi : $(ASIRLIB)/xm Makefile | ||
/bin/rm -f oxxm.texi | /bin/rm -f oxxm-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <$(ASIRLIB)/xm >oxxm.texi | $(OXWEAVE) C-texi jp-texi <$(ASIRLIB)/xm >oxxm-ja.texi | ||
oxxm-eg.texi : $(ASIRLIB)/xm Makefile | oxxm-en.texi : $(ASIRLIB)/xm Makefile | ||
/bin/rm -f oxxm-eg.texi | /bin/rm -f oxxm-en.texi | ||
$(OXWEAVE) C-texi eg-texi <$(ASIRLIB)/xm >oxxm-eg.texi | $(OXWEAVE) C-texi eg-texi <$(ASIRLIB)/xm >oxxm-en.texi | ||
oxmath.texi : $(CONTRIB)/m Makefile | oxmath-ja.texi : $(CONTRIB)/m Makefile | ||
/bin/rm -f oxmath.texi | /bin/rm -f oxmath-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/m >oxmath.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/m >oxmath-ja.texi | ||
oxmath-eg.texi : $(CONTRIB)/m Makefile | oxmath-en.texi : $(CONTRIB)/m Makefile | ||
/bin/rm -f oxmath-eg.texi | /bin/rm -f oxmath-en.texi | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/m >oxmath-eg.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/m >oxmath-en.texi | ||
oxphc.texi : $(CONTRIB)/phc Makefile | oxphc-ja.texi : $(CONTRIB)/phc Makefile | ||
/bin/rm -f oxphc.texi | /bin/rm -f oxphc-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/phc >oxphc.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/phc >oxphc-ja.texi | ||
oxphc-eg.texi : $(CONTRIB)/phc Makefile | oxphc-en.texi : $(CONTRIB)/phc Makefile | ||
/bin/rm -f oxphc-eg.texi | /bin/rm -f oxphc-en.texi | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/phc >oxphc-eg.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/phc >oxphc-en.texi | ||
oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile | oxgnuplot-ja.texi : $(CONTRIB)/gnuplot Makefile | ||
/bin/rm -f oxgnuplot.texi | /bin/rm -f oxgnuplot-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/gnuplot >oxgnuplot.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/gnuplot >oxgnuplot-ja.texi | ||
oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile | oxgnuplot-en.texi : $(CONTRIB)/gnuplot Makefile | ||
/bin/rm -f oxgnuplot-eg.texi | /bin/rm -f oxgnuplot-en.texi | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/gnuplot >oxgnuplot-en.texi | ||
oxsm1.texi : sm1.oxweave Makefile | ###sm1 | ||
/bin/rm -f oxsm1.texi | oxsm1-ja.texi : sm1.oxweave Makefile sm1-auto-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <sm1.oxweave >oxsm1.texi | /bin/rm -f oxsm1-ja.texi | ||
$(OXWEAVE) C-texi jp-texi <sm1.oxweave >oxsm1-ja.texi | |||
oxsm1-en.texi : sm1.oxweave Makefile sm1-auto-en.texi | |||
/bin/rm -f oxsm1-en.texi | |||
$(OXWEAVE) C-texi eg-texi <sm1.oxweave >oxsm1-en.texi | |||
sm1-auto-en.texi : $(CONTRIB)/sm1 gentexi | |||
rm -f sm1-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --en --upnode Top ${OPTGENTEXI} >sm1-auto-en.texi | |||
sm1-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f sm1-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/sm1 | ./gentexi --category sm1 --ja --upnode Top ${OPTGENTEXI} >sm1-auto-ja.texi | |||
oxsm1-eg.texi : sm1.oxweave Makefile | oxom-ja.texi : $(CONTRIB)/om Makefile | ||
/bin/rm -f oxsm1-eg.texi | /bin/rm -f oxom-ja.texi | ||
$(OXWEAVE) C-texi eg-texi <sm1.oxweave >oxsm1-eg.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/om >oxom-ja.texi | ||
oxom.texi : $(CONTRIB)/om Makefile | oxom-en.texi : $(CONTRIB)/om Makefile | ||
/bin/rm -f oxom.texi | /bin/rm -f oxom-en.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/om >oxom.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/om >oxom-en.texi | ||
oxom-eg.texi : $(CONTRIB)/om Makefile | dsolv-ja.texi : dsolv.oxweave Makefile | ||
/bin/rm -f oxom-eg.texi | /bin/rm -f dsolv-ja.texi | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/om >oxom-eg.texi | $(OXWEAVE) C-texi jp-texi <dsolv.oxweave >dsolv-ja.texi | ||
dsolv-jp.texi : dsolv.oxweave Makefile | dsolv-en.texi : dsolv.oxweave Makefile | ||
/bin/rm -f dsolv-jp.texi | /bin/rm -f dsolv-en.texi | ||
$(OXWEAVE) C-texi jp-texi <dsolv.oxweave >dsolv-jp.texi | $(OXWEAVE) C-texi eg-texi <dsolv.oxweave >dsolv-en.texi | ||
dsolv-eg.texi : dsolv.oxweave Makefile | longname-ja.texi : $(CONTRIB)/longname Makefile | ||
/bin/rm -f dsolv-eg.texi | /bin/rm -f longname-ja.texi | ||
$(OXWEAVE) C-texi eg-texi <dsolv.oxweave >dsolv-eg.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/longname >longname-ja.texi | ||
longname-jp.texi : $(CONTRIB)/longname Makefile | longname-en.texi : $(CONTRIB)/longname Makefile | ||
/bin/rm -f longname-jp.texi | /bin/rm -f longname-en.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/longname >longname-jp.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/longname >longname-en.texi | ||
longname-eg.texi : $(CONTRIB)/longname Makefile | oxtigers-ja.texi : $(CONTRIB)/tigers Makefile | ||
/bin/rm -f longname-eg.texi | /bin/rm -f oxtigers-ja.texi | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/longname >longname-eg.texi | $(OXWEAVE) C-texi jp-texi <$(CONTRIB)/tigers >oxtigers-ja.texi | ||
oxtigers-jp.texi : $(CONTRIB)/tigers Makefile | oxtigers-en.texi : $(CONTRIB)/tigers Makefile | ||
/bin/rm -f oxtigers-jp.texi | /bin/rm -f oxtigers-en.texi | ||
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/tigers >oxtigers-jp.texi | $(OXWEAVE) C-texi eg-texi <$(CONTRIB)/tigers >oxtigers-en.texi | ||
oxtigers-eg.texi : $(CONTRIB)/tigers Makefile | ### windows | ||
/bin/rm -f oxtigers-eg.texi | windows-ja.texi : windows.oxweave Makefile | ||
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/tigers >oxtigers-eg.texi | /bin/rm -f windows-ja.texi | ||
$(OXWEAVE) C-texi ja <windows.oxweave >windows-ja.texi | |||
### Generating *auto*.texi cf. JAAUTO, ENAUTO | windows-en.texi : windows.oxweave Makefile | ||
## base | /bin/rm -f windows-en.texi | ||
base-auto-en.texi : $(CONTRIB)/names.rr gentexi | $(OXWEAVE) C-texi en <windows.oxweave >windows-en.texi | ||
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 | ###misc | ||
rm -f base-auto-ja.texi | misc-ja.texi : misc.oxweave | ||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --ja --upnode Top ${OPTGENTEXI} >base-auto-ja.texi | /bin/rm -f misc-ja.texi | ||
$(OXWEAVE) C ja <misc.oxweave >misc-ja.texi | |||
misc-en.texi : misc.oxweave | |||
/bin/rm -f misc-en.texi | |||
$(OXWEAVE) C en <misc.oxweave >misc-en.texi | |||
## poly | |||
poly-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f poly-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --en --upnode Top ${OPTGENTEXI} >poly-auto-en.texi | |||
poly-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f poly-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category poly --ja --upnode Top ${OPTGENTEXI} >poly-auto-ja.texi | |||
print-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f print-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --en --upnode Top ${OPTGENTEXI} >print-auto-en.texi | |||
print-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f print-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category print --ja --upnode Top ${OPTGENTEXI} >print-auto-ja.texi | |||
## matrix | |||
matrix-auto-en.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f matrix-auto-en.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --en --upnode Top ${OPTGENTEXI} >matrix-auto-en.texi | |||
matrix-auto-ja.texi : $(CONTRIB)/names.rr gentexi | |||
rm -f matrix-auto-ja.texi | |||
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category matrix --ja --upnode Top ${OPTGENTEXI} >matrix-auto-ja.texi | |||
# pfp | |||
pfp-auto-en.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi | |||
rm -f pfp-auto-en.texi | |||
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --en --upnode Top ${OPTGENTEXI} >pfp-auto-en.texi | |||
pfp-auto-ja.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi | |||
rm -f pfp-auto-ja.texi | |||
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --ja --upnode Top ${OPTGENTEXI} >pfp-auto-ja.texi | |||
###glib | ###glib | ||
glib-ja.texi : glib.oxweave | glib-ja.texi : glib.oxweave | ||
/bin/rm -f glib-ja.texi | /bin/rm -f glib-ja.texi | ||
$(OXWEAVE) C ja <glib.oxweave >glib-ja.texi | $(OXWEAVE) C ja <glib.oxweave >glib-ja.texi | ||
glib-en.texi : glib.oxweave | glib-en.texi : glib.oxweave | ||
/bin/rm -f glib-en.texi | /bin/rm -f glib-en.texi | ||
$(OXWEAVE) C en <glib.oxweave >glib-en.texi | $(OXWEAVE) C en <glib.oxweave >glib-en.texi | ||
glib-auto-en.texi : ${ASIRLIB}/glib gentexi | glib-auto-en.texi : ${ASIRLIB}/glib gentexi | ||
rm -f glib-auto-en.texi | rm -f glib-auto-en.texi | ||
cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --en --upnode Top ${OPTGENTEXI} >glib-auto-en.texi | cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --en --upnode Top ${OPTGENTEXI} >glib-auto-en.texi | ||
glib-auto-ja.texi : ${ASIRLIB}/glib gentexi | glib-auto-ja.texi : ${ASIRLIB}/glib gentexi | ||
rm -f glib-auto-ja.texi | rm -f glib-auto-ja.texi | ||
cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --ja --upnode Top ${OPTGENTEXI} >glib-auto-ja.texi | cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --ja --upnode Top ${OPTGENTEXI} >glib-auto-ja.texi | ||
###pfp | |||
pfp-ja.texi : pfp.oxweave | |||
/bin/rm -f pfp-ja.texi | |||
$(OXWEAVE) C ja <pfp.oxweave >pfp-ja.texi | |||
pfp-en.texi : pfp.oxweave | |||
/bin/rm -f pfp-en.texi | |||
$(OXWEAVE) C en <pfp.oxweave >pfp-en.texi | |||
pfp-auto-en.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi | |||
rm -f pfp-auto-en.texi | |||
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --en --upnode Top ${OPTGENTEXI} >pfp-auto-en.texi | |||
pfp-auto-ja.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi | |||
rm -f pfp-auto-ja.texi | |||
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --ja --upnode Top ${OPTGENTEXI} >pfp-auto-ja.texi | |||
### Generating online manual | ###### Generating online manual | ||
gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) | gen-help-en: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) | ||
-rm -rf tmp help-eg | -rm -rf tmp help-en | ||
mkdir help-eg tmp | mkdir help-en tmp | ||
cp cman-eg.texi $(EGSRCS) $(ENAUTO) tmp | cp cman-en.texi $(EGSRCS) $(ENAUTO) tmp | ||
-(cd tmp; makeinfo --force cman-eg.texi) | -(cd tmp; makeinfo --force cman-en.texi) | ||
(cd help-eg; 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 | ## duplicate some help files | ||
-(cd help-eg; cp sm1_hilbert hilbert_polynomial) | -(cd help-en; cp sm1_hilbert hilbert_polynomial) | ||
gen-help-jp: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) | gen-help-ja: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) | ||
-rm -rf tmp-ja help-jp | -rm -rf tmp-ja help-ja | ||
mkdir help-jp tmp-ja | mkdir help-ja tmp-ja | ||
for i in cman.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.texi) | -(cd tmp-ja; makeinfo --force cman-ja.texi) | ||
(cd help-jp; 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 | ## duplicate some help files | ||
-(cd help-jp; cp sm1_hilbert hilbert_polynomial) | -(cd help-ja; cp sm1_hilbert hilbert_polynomial) | ||
gen-html-en: gen-help-eg | gen-html-en: gen-help-en | ||
-rm -rf html-en | -rm -rf html-en | ||
-mkdir html-en | -mkdir html-en | ||
-cp tmp/*.texi html-en | -cp tmp/*.texi html-en | ||
-(cd html-en; ${TEXI2HTML} cman-eg.texi) | -(cd html-en; ${TEXI2HTML} cman-en.texi) | ||
gen-html-ja: gen-help-jp | gen-html-ja: gen-help-ja | ||
-mkdir html-ja | -mkdir html-ja | ||
-cp tmp-ja/*.texi html-ja | -cp tmp-ja/*.texi html-ja | ||
-cp tmp-ja/cman.texi html-ja/cman-ja.texi | -cp tmp-ja/cman-ja.texi html-ja/cman-ja.texi | ||
-(cd html-ja; ${TEXI2HTML} cman-ja.texi) | -(cd html-ja; ${TEXI2HTML} cman-ja.texi) | ||
help: gen-help-eg gen-help-jp | help: gen-help-en gen-help-ja | ||
install-help: help | install-help: help | ||
/bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | ||
mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | ||
-cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | -cp -f help-ja/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help | ||
/bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help | /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help | ||
mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help | mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help | ||
-cp -f help-eg/* $(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 | ||
-( 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 : all clean-document | install-document : all clean-document | ||
-ptex cman.texi | -ptex cman-ja.texi | ||
-ptex cman.texi | -ptex cman-ja.texi | ||
-cp cman.dvi $(OpenXM_doc)/asir-contrib/cman-jp.dvi | -$(DVIPS) cman-ja >$(OpenXM_doc)/asir-contrib/cman-ja.ps | ||
-$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps | -tex cman-en.texi | ||
-tex cman-eg.texi | -tex cman-en.texi | ||
-tex cman-eg.texi | -cp cman-en.dvi $(OpenXM_doc)/asir-contrib/cman-en.dvi | ||
-cp cman-eg.dvi $(OpenXM_doc)/asir-contrib/cman-eg.dvi | -$(DVIPS) cman-en >$(OpenXM_doc)/asir-contrib/cman-en.ps | ||
-$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps | |||
clean-document : | clean-document : | ||
|
|
||
clean : | clean : | ||
rm -f ./.done_install | rm -f ./.done_install | ||
rm -f gentexi $(JAAUTO) $(ENAUTO) gentexi-in.tmp gentexi-out.tmp | 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 glib-ja.texi glib-en.texi | rm -f oxxm-ja.texi oxxm-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 | ||
/bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja | /bin/rm -rf help-ja help-en tmp tmp-ja html-en html-ja |