version 1.24, 2002/02/09 08:50:48 |
version 1.60, 2004/07/02 07:48:47 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.23 2002/01/27 08:18:52 takayama Exp $ |
#$OpenXM$ |
# targets |
# targets |
# all : |
# all : |
# Extracts all tex-info files from ../src/* |
# 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 |
# install-document : all gen-dvi-ps |
# Copy the documents to OpenXM/doc/asir-contrib |
# Copy the documents in dvi and ps to OpenXM/doc/asir-contrib |
# install-html-help |
# install-html-help |
# Copy html help to OpenXM/doc/asir-contrib |
# Copy html help to OpenXM/doc/asir-contrib |
|
# gen-html-en gen-html-ja |
|
# Generate HTML documents under html-en and html-ja |
|
# gen-help-en gen-help-ja |
|
# Generate help files. |
|
# gen-dvi-ps |
|
# Generate dvi and ps files. |
# |
# |
# NOTE: install-help should be executed after installing asir2000. |
# NOTE: install-help should be executed after installing asir2000. |
|
######################################################################## |
|
# How to add new documents in the category xxx |
|
# "xxx*.texi <--- xxx.oxweave (manually written) + xxx*-auto.{en,ja} (automatic)" |
|
# (1) "xxx.oxweave" --> xxx.en and xxx.ja |
|
# xxx-auto.en and xxx-auto.ja should be included from |
|
# xxx.en and xxx.ja (JASRCS, ENSRCS) |
|
# NOTE: xxx.oxweave might be embedded in xxx.rr or xxx, |
|
# but this style is obsolete. |
|
# (2) "xxx.rr" or "xxx" --> xxx-auto.en and xxx-auto.ja |
|
# (JAAUTO, ENAUTO) |
|
# xxx-auto*.texi's are extracted from xxx or xxx.rr |
|
# (3) xxx.en and xxx.ja should be included from cman.texi |
|
# and cman-en.texi |
|
# cf. glib* base* |
|
######################################################################## |
OpenXM_ROOT=../../../../../OpenXM |
OpenXM_ROOT=../../../../../OpenXM |
ASIRDOC=$(OpenXM_ROOT)/src/asir-doc |
ASIRDOC=../../../asir-doc |
ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib |
ASIRLIB=${OpenXM_ROOT}/../OpenXM_contrib2/asir2000/lib |
CONTRIB=$(OpenXM_ROOT)/src/asir-contrib/packages/src |
CONTRIB=../src |
OPTGENTEXI= --include |
OPTGENTEXI= --include |
#OPTGENTEXI= --include --example |
#OPTGENTEXI= --include --example |
## PS documents are installed under $(OpenXM_doc)/asir-contrib |
## PS documents are installed under ${OpenXM_doc}/asir-contrib |
OpenXM_doc=$(OpenXM_ROOT)/doc |
INSTALL_doc=/.amd_mnt/berry/usr/export/home01/taka/OX4/OpenXM/doc |
|
INSTALL_lib=/.amd_mnt/berry/usr/export/home01/taka/OX4/OpenXM/lib |
|
OXWEAVE=/.amd_mnt/berry/usr/export/home01/taka/OX4/OpenXM/bin/oxweave |
DVIPS=dvips -f |
DVIPS=dvips -f |
OXWEAVE= ../../../kxx/oxweave |
|
TEXI2HTML=texi2html -menu -split_node |
TEXI2HTML=texi2html -menu -split_node |
|
RM=rm |
|
DVIPDF=dvipdfmx |
|
|
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 |
SRC = base.oxweave calculus.oxweave complex.oxweave dsolv.oxweave \ |
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.oxweave gnuplot.oxweave graphic.oxweave hypergeometric.oxweave \ |
|
intro.oxweave m.oxweave matrix.oxweave misc.oxweave names.oxweave \ |
|
number.oxweave oxrfc100.oxweave pfp.oxweave phc.oxweave \ |
|
plucker.oxweave poly.oxweave print.oxweave series.oxweave sm1.oxweave \ |
|
tigers.oxweave util.oxweave windows.oxweave |
|
|
JAAUTO=base-auto-ja.texi pfp-auto-ja.texi |
ENSRCS = ${SRC:.oxweave=.en} opening.texi oxom.en |
ENAUTO=base-auto-en.texi pfp-auto-en.texi |
JASRCS = ${SRC:.oxweave=.ja} opening.texi oxom.ja Diff-ja.texi Dmodule-ja.texi |
|
ENAUTO= base-auto.en glib-auto.en matrix-auto.en number-auto.en pfp-auto.en \ |
|
plucker-auto.en poly-auto.en print-auto.en sm1-auto.en util-auto.en |
|
JAAUTO=${ENAUTO:.en=.ja} |
|
|
all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) |
.SUFFIXES: .en .ja .oxweave .dvi .pdf |
install : install-document install-help install-html-help |
|
|
|
gentexi : gentexi.c |
.oxweave.en: |
gcc -o gentexi gentexi.c |
${RM} -f ${<:.oxweave=.en} |
|
${OXWEAVE} C en < $< > ${<:.oxweave=.en} |
|
|
base-ja.texi : base.oxweave |
.oxweave.ja: |
/bin/rm -f base-ja.texi |
${RM} -f ${<:.oxweave=.ja} |
$(OXWEAVE) C ja <base.oxweave >base-ja.texi |
${OXWEAVE} C ja < $< > ${<:.oxweave=.ja} |
|
|
base-en.texi : base.oxweave |
.dvi.pdf: |
/bin/rm -f base-en.texi |
${DVIPDF} $< |
$(OXWEAVE) C en <base.oxweave >base-en.texi |
|
|
|
names-ja.texi : names.oxweave |
all : gentexi ${JASRCS} ${ENSRCS} ${JAAUTO} ${ENAUTO} |
/bin/rm -f names-ja.texi |
@echo "Type in tex cman-en.texi to generate the manual(en) in dvi format." |
$(OXWEAVE) C ja <names.oxweave >names-ja.texi |
@echo "Type in ptex cman-ja.texi to generate the manual(ja) in dvi format." |
|
|
names-en.texi : names.oxweave |
install : |
/bin/rm -f names-en.texi |
@if [ ! -f ./.done_install ] ; then \ |
$(OXWEAVE) C en <names.oxweave >names-en.texi |
make install2 ; \ |
|
touch ./.done_install ; \ |
|
else \ |
|
echo "NOTE: Installation is already done. Remove .done_install for a new installation." ; \ |
|
fi |
|
|
plucker-ja.texi : plucker.oxweave |
install-document : install-html-help |
/bin/rm -f plucker-ja.texi |
@if [ ! -f ./.done_install_document ] ; then \ |
$(OXWEAVE) C ja <plucker.oxweave >plucker-ja.texi |
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 |
|
|
plucker-en.texi : plucker.oxweave |
install2 : install-help |
/bin/rm -f plucker-en.texi |
|
$(OXWEAVE) C en <plucker.oxweave >plucker-en.texi |
|
|
|
hypergeometric-ja.texi : hypergeometric.oxweave |
gentexi : gentexi.c |
/bin/rm -f hypergeometric-ja.texi |
gcc -o gentexi gentexi.c |
$(OXWEAVE) C ja <hypergeometric.oxweave >hypergeometric-ja.texi |
|
|
|
hypergeometric-en.texi : hypergeometric.oxweave |
oxom.ja : ${CONTRIB}/om |
/bin/rm -f hypergeometric-en.texi |
${RM} -f oxom.ja |
$(OXWEAVE) C en <hypergeometric.oxweave >hypergeometric-en.texi |
${OXWEAVE} C ja <${CONTRIB}/om >oxom.ja |
|
oxom.en : ${CONTRIB}/om |
|
${RM} -f oxom.en |
|
${OXWEAVE} C en <${CONTRIB}/om >oxom.en |
|
|
number-ja.texi : number.oxweave |
### base |
/bin/rm -f number-ja.texi |
base-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C ja <number.oxweave >number-ja.texi |
${RM} -f base-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category base --en --upnode "Basic (Standard Functions)" ${OPTGENTEXI} >base-auto.en |
|
base-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f base-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category base --ja --upnode "Basic (Standard Functions)" ${OPTGENTEXI} >base-auto.ja |
|
|
number-en.texi : number.oxweave |
### plucker |
/bin/rm -f number-en.texi |
plucker-auto.en : ${CONTRIB}/plucker.rr gentexi |
$(OXWEAVE) C en <number.oxweave >number-en.texi |
${RM} -f plucker-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/plucker.rr | ./gentexi --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto.en |
|
plucker-auto.ja : ${CONTRIB}/plucker.rr gentexi |
|
${RM} -f plucker-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/plucker.rr | ./gentexi --category plucker --ja --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto.ja |
|
|
calculus-ja.texi : calculus.oxweave |
### number |
/bin/rm -f calculus-ja.texi |
number-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C ja <calculus.oxweave >calculus-ja.texi |
${RM} -f number-auto.en |
|
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category number --en --upnode "Numbers (Standard Mathematical Functions)" ${OPTGENTEXI} >number-auto.en |
|
number-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f number-auto.ja |
|
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category number --ja --upnode "Numbers (Standard Mathematical Functions)" ${OPTGENTEXI} >number-auto.ja |
|
|
calculus-en.texi : calculus.oxweave |
### matrix |
/bin/rm -f calculus-en.texi |
matrix-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C en <calculus.oxweave >calculus-en.texi |
${RM} -f matrix-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category matrix --en --upnode "Matrix (Standard Mathematical Functions)" ${OPTGENTEXI} >matrix-auto.en |
|
matrix-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f matrix-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category matrix --ja --upnode "Matrix (Standard Mathematical Functions)" ${OPTGENTEXI} >matrix-auto.ja |
|
|
series-ja.texi : series.oxweave |
### print |
/bin/rm -f series-ja.texi |
print-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C ja <series.oxweave >series-ja.texi |
${RM} -f print-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category print --en --upnode "Print (Standard Mathematical Functions)" ${OPTGENTEXI} >print-auto.en |
|
print-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f print-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category print --ja --upnode "Print (Standard Mathematical Functions)" ${OPTGENTEXI} >print-auto.ja |
|
|
series-en.texi : series.oxweave |
### poly |
/bin/rm -f series-en.texi |
poly-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C en <series.oxweave >series-en.texi |
${RM} -f poly-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category poly --en --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto.en |
|
poly-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f poly-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category poly --ja --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto.ja |
|
### sm1 |
|
sm1-auto.en : ${CONTRIB}/sm1 gentexi |
|
${RM} -f sm1-auto.en |
|
${OXWEAVE} usage <${CONTRIB}/sm1 | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.en |
|
sm1-auto.ja : ${CONTRIB}/sm1 gentexi |
|
${RM} -f sm1-auto.ja |
|
${OXWEAVE} usage <${CONTRIB}/sm1 | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.ja |
|
|
matrix-ja.texi : matrix.oxweave |
### glib |
/bin/rm -f matrix-ja.texi |
glib-auto.en : ${ASIRLIB}/glib gentexi |
$(OXWEAVE) C ja <matrix.oxweave >matrix-ja.texi |
${RM} -f glib-auto.en |
|
cat ${ASIRLIB}/glib | ${OXWEAVE} usage | ./gentexi --category glib --en --upnode "Graphic Library (2 dimensional)" ${OPTGENTEXI} >glib-auto.en |
|
glib-auto.ja : ${ASIRLIB}/glib gentexi |
|
${RM} -f glib-auto.ja |
|
cat ${ASIRLIB}/glib | ${OXWEAVE} usage | ./gentexi --category glib --ja --upnode "Graphic Library (2 dimensional)" ${OPTGENTEXI} >glib-auto.ja |
|
|
matrix-en.texi : matrix.oxweave |
### pfp |
/bin/rm -f matrix-en.texi |
pfp-auto.en : ${CONTRIB}/pfpcoh.rr ${CONTRIB}/pfphom.rr gentexi |
$(OXWEAVE) C en <matrix.oxweave >matrix-en.texi |
${RM} -f pfp-auto.en |
|
cat ${CONTRIB}/pfpcoh.rr ${CONTRIB}/pfphom.rr | ${OXWEAVE} usage | ./gentexi --en --upnode Pfpcohom ${OPTGENTEXI} >pfp-auto.en |
|
pfp-auto.ja : ${CONTRIB}/pfpcoh.rr ${CONTRIB}/pfphom.rr gentexi |
|
${RM} -f pfp-auto.ja |
|
cat ${CONTRIB}/pfpcoh.rr ${CONTRIB}/pfphom.rr | ${OXWEAVE} usage | ./gentexi --ja --upnode Pfpcohom ${OPTGENTEXI} >pfp-auto.ja |
|
|
graphic-ja.texi : graphic.oxweave |
### util |
/bin/rm -f graphic-ja.texi |
util-auto.en : ${CONTRIB}/names.rr gentexi |
$(OXWEAVE) C ja <graphic.oxweave >graphic-ja.texi |
${RM} -f util-auto.en |
|
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category util --en --upnode "Utility Functions" ${OPTGENTEXI} >util-auto.en |
|
util-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f util-auto.ja |
|
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category util --ja --upnode "Utility Functions" ${OPTGENTEXI} >util-auto.ja |
|
|
graphic-en.texi : graphic.oxweave |
|
/bin/rm -f graphic-en.texi |
|
$(OXWEAVE) C en <graphic.oxweave >graphic-en.texi |
|
|
|
print-ja.texi : print.oxweave |
|
/bin/rm -f print-ja.texi |
|
$(OXWEAVE) C ja <print.oxweave >print-ja.texi |
|
|
|
print-en.texi : print.oxweave |
|
/bin/rm -f print-en.texi |
|
$(OXWEAVE) C en <print.oxweave >print-en.texi |
|
|
|
poly-ja.texi : poly.oxweave |
|
/bin/rm -f poly-ja.texi |
|
$(OXWEAVE) C ja <poly.oxweave >poly-ja.texi |
|
|
|
poly-en.texi : poly.oxweave |
|
/bin/rm -f poly-en.texi |
|
$(OXWEAVE) C en <poly.oxweave >poly-en.texi |
|
|
|
complex-ja.texi : complex.oxweave |
|
/bin/rm -f complex-ja.texi |
|
$(OXWEAVE) C ja <complex.oxweave >complex-ja.texi |
|
|
|
complex-en.texi : complex.oxweave |
|
/bin/rm -f complex-en.texi |
|
$(OXWEAVE) C en <complex.oxweave >complex-en.texi |
|
|
|
|
|
oxxm.texi : $(ASIRLIB)/xm Makefile |
|
/bin/rm -f oxxm.texi |
|
$(OXWEAVE) C-texi jp-texi <$(ASIRLIB)/xm >oxxm.texi |
|
|
|
oxxm-eg.texi : $(ASIRLIB)/xm Makefile |
|
/bin/rm -f oxxm-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(ASIRLIB)/xm >oxxm-eg.texi |
|
|
|
oxmath.texi : $(CONTRIB)/m Makefile |
|
/bin/rm -f oxmath.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/m >oxmath.texi |
|
|
|
oxmath-eg.texi : $(CONTRIB)/m Makefile |
|
/bin/rm -f oxmath-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/m >oxmath-eg.texi |
|
|
|
oxphc.texi : $(CONTRIB)/phc Makefile |
|
/bin/rm -f oxphc.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/phc >oxphc.texi |
|
|
|
oxphc-eg.texi : $(CONTRIB)/phc Makefile |
|
/bin/rm -f oxphc-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/phc >oxphc-eg.texi |
|
|
|
oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile |
|
/bin/rm -f oxgnuplot.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/gnuplot >oxgnuplot.texi |
|
|
|
oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile |
|
/bin/rm -f oxgnuplot-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi |
|
|
|
oxsm1.texi : sm1.oxweave Makefile |
|
/bin/rm -f oxsm1.texi |
|
$(OXWEAVE) C-texi jp-texi <sm1.oxweave >oxsm1.texi |
|
|
|
oxsm1-eg.texi : sm1.oxweave Makefile |
|
/bin/rm -f oxsm1-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <sm1.oxweave >oxsm1-eg.texi |
|
|
|
oxom.texi : $(CONTRIB)/om Makefile |
|
/bin/rm -f oxom.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/om >oxom.texi |
|
|
|
oxom-eg.texi : $(CONTRIB)/om Makefile |
|
/bin/rm -f oxom-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/om >oxom-eg.texi |
|
|
|
dsolv-jp.texi : dsolv.oxweave Makefile |
|
/bin/rm -f dsolv-jp.texi |
|
$(OXWEAVE) C-texi jp-texi <dsolv.oxweave >dsolv-jp.texi |
|
|
|
dsolv-eg.texi : dsolv.oxweave Makefile |
|
/bin/rm -f dsolv-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <dsolv.oxweave >dsolv-eg.texi |
|
|
|
longname-jp.texi : $(CONTRIB)/longname Makefile |
|
/bin/rm -f longname-jp.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/longname >longname-jp.texi |
|
|
|
longname-eg.texi : $(CONTRIB)/longname Makefile |
|
/bin/rm -f longname-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/longname >longname-eg.texi |
|
|
|
oxtigers-jp.texi : $(CONTRIB)/tigers Makefile |
|
/bin/rm -f oxtigers-jp.texi |
|
$(OXWEAVE) C-texi jp-texi <$(CONTRIB)/tigers >oxtigers-jp.texi |
|
|
|
oxtigers-eg.texi : $(CONTRIB)/tigers Makefile |
|
/bin/rm -f oxtigers-eg.texi |
|
$(OXWEAVE) C-texi eg-texi <$(CONTRIB)/tigers >oxtigers-eg.texi |
|
|
|
### Generating *auto*.texi cf. JAAUTO, ENAUTO |
|
## base |
|
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 |
|
|
|
# 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 |
|
|
|
### Generating online manual |
### Generating online manual |
gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) |
gen-help-en: ${ENSRCS} ${ASIRDOC}/extract_func ${ENAUTO} |
-rm -rf tmp help-eg |
-${RM} -rf tmp-en help-en |
mkdir help-eg tmp |
mkdir help-en tmp-en |
cp cman-eg.texi $(EGSRCS) $(ENAUTO) tmp |
cp cman-en.texi ${ENSRCS} ${ENAUTO} tmp-en |
-(cd tmp; makeinfo --force cman-eg.texi) |
-(cd tmp-en; 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-en/asir-contrib*; do ../${ASIRDOC}/extract_func $$i; done) |
## duplicate some help files |
|
-(cd help-eg; cp sm1_hilbert hilbert_polynomial) |
|
|
|
gen-help-jp: $(JPSRCS) $(ASIRDOC)/extract_func $(JAAUTO) |
gen-help-ja: ${JASRCS} ${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 ${JASRCS} ${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 |
|
-(cd help-jp; 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-en/*.texi tmp-en/*.en 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 tmp-ja/*.ja 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 |
install-help: |
|
-make install-help-en |
|
-make install-help-ja |
|
|
install-help: help |
install-help-ja: gen-help-ja |
/bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help |
${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help |
mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help |
mkdir ${INSTALL_lib}/asir/help-jp/xm.help |
-cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help |
-cp -f help-ja/* ${INSTALL_lib}/asir/help-jp/xm.help |
/bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help |
install-help-en: gen-help-en |
mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help |
${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help |
-cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help |
mkdir ${INSTALL_lib}/asir/help-eg/xm.help |
|
-cp -f help-en/* ${INSTALL_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 -)) |
-mkdir ${INSTALL_doc}/asir-contrib |
-( tar cf - html-ja | (cd $(OpenXM_doc)/asir-contrib ; tar xf -)) |
-( tar cf - html-en | (cd ${INSTALL_doc}/asir-contrib ; tar xf -)) |
|
-( tar cf - html-ja | (cd ${INSTALL_doc}/asir-contrib ; tar xf -)) |
|
|
install-document : all clean-document |
install-document2 : gen-dvi-ps |
-ptex cman.texi |
-mkdir ${INSTALL_lib}/asir-contrib |
-ptex cman.texi |
-cp cman-ja.dvi ${INSTALL_doc}/asir-contrib/cman-ja.dvi |
-cp cman.dvi $(OpenXM_doc)/asir-contrib/cman-jp.dvi |
-$(DVIPS) cman-ja >${INSTALL_doc}/asir-contrib/cman-ja.ps |
-$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps |
-cp cman-en.dvi ${INSTALL_doc}/asir-contrib/cman-en.dvi |
-tex cman-eg.texi |
-$(DVIPS) cman-en >${INSTALL_doc}/asir-contrib/cman-en.ps |
-tex cman-eg.texi |
gen-dvi-ps: all clean-mk-openxm-asir-contrib-document-dir cman-ja.dvi cman-en.dvi |
-cp cman-eg.dvi $(OpenXM_doc)/asir-contrib/cman-eg.dvi |
cman-ja.dvi: ${JASRCS} ${JAAUTO} |
-$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps |
-ptex cman-ja.texi |
|
-ptex cman-ja.texi |
|
cman-en.dvi: ${ENSRCS} ${ENAUTO} |
|
-tex cman-en.texi |
|
-tex cman-en.texi |
|
|
|
cman-ja.pdf: cman-ja.dvi |
|
cman-en.pdf: cman-en.dvi |
|
|
clean-document : |
clean-mk-openxm-asir-contrib-document-dir : |
/bin/rm -rf $(OpenXM_doc)/asir-contrib |
${RM} -rf ${INSTALL_doc}/asir-contrib |
mkdir $(OpenXM_doc)/asir-contrib |
${RM} -f ./.done_install ./.done_install_document |
touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
mkdir ${INSTALL_doc}/asir-contrib |
|
touch ${INSTALL_doc}/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
|
|
|
clean: |
clean : |
-${RM} -rf ./.done_install ./.done_install_document config.log config.status autom4te.cache |
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 |
${RM} -f *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *~ |
/bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja |
${RM} -f *.en *.ja |
|
${RM} -rf help-ja help-en tmp-en tmp-ja html-en html-ja |