version 1.24, 2002/02/09 08:50:48 |
version 1.30, 2002/07/14 10:53:08 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.23 2002/01/27 08:18:52 takayama Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.29 2002/07/14 07:10:02 takayama Exp $ |
# 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-document install-help |
# install-help : all |
# install-help : all |
# Installing online help to OpenXM/lib/asir/help-* |
# Installing online help to OpenXM/lib/asir/help-* |
|
|
# Copy the documents to OpenXM/doc/asir-contrib |
# Copy the documents 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 |
# |
# |
# 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*.texi (automatic)" |
|
# (1) "xxx.oxweave" --> xxx-en.texi and xxx-ja.texi |
|
# xxx-auto-en.texi and xxx-auto-ja.texi should be included from |
|
# xxx-en.texi and xxx-ja.texi (JPSRCS, EGSRCS) |
|
# NOTE: xxx.oxweave might be embedded in xxx.rr or xxx, |
|
# but this style is obsolete. |
|
# (2) "xxx.rr" or "xxx" --> xxx-auto-en.texi and xxx-auto-ja.texi |
|
# (JAAUTO, ENAUTO) |
|
# 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 |
|
# and cman-eg.texi |
|
# cf. glib* base* |
|
######################################################################## |
OpenXM_ROOT=../../../../../OpenXM |
OpenXM_ROOT=../../../../../OpenXM |
ASIRDOC=$(OpenXM_ROOT)/src/asir-doc |
ASIRDOC=$(OpenXM_ROOT)/src/asir-doc |
ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib |
ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib |
|
|
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 |
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 |
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 |
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 |
|
|
JAAUTO=base-auto-ja.texi pfp-auto-ja.texi |
JAAUTO=base-auto-ja.texi pfp-auto-ja.texi poly-auto-ja.texi \ |
ENAUTO=base-auto-en.texi pfp-auto-en.texi |
print-auto-ja.texi matrix-auto-ja.texi glib-auto-ja.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 |
|
|
all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) |
all : gentexi $(JPSRCS) $(EGSRCS) $(JAAUTO) $(ENAUTO) |
install : install-document install-help install-html-help |
install : |
|
@if [ ! -f ./.done_install ] ; \ |
|
then \ |
|
make install2 ; \ |
|
touch ./.done_install ; \ |
|
else \ |
|
echo "NOTE: Installation is already done. Remove .done_install for a new installation." ; \ |
|
fi |
|
|
|
install2 : install-document install-help install-html-help |
|
|
gentexi : gentexi.c |
gentexi : gentexi.c |
gcc -o gentexi gentexi.c |
gcc -o gentexi gentexi.c |
|
|
Line 214 base-auto-ja.texi : $(CONTRIB)/names.rr gentexi |
|
Line 242 base-auto-ja.texi : $(CONTRIB)/names.rr gentexi |
|
rm -f base-auto-ja.texi |
rm -f base-auto-ja.texi |
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --ja --upnode Top ${OPTGENTEXI} >base-auto-ja.texi |
$(OXWEAVE) usage <$(CONTRIB)/names.rr | ./gentexi --category base --ja --upnode Top ${OPTGENTEXI} >base-auto-ja.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 |
|
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 |
pfp-auto-en.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi |
pfp-auto-en.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr gentexi |
rm -f pfp-auto-en.texi |
rm -f pfp-auto-en.texi |
Line 223 pfp-auto-ja.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfp |
|
Line 278 pfp-auto-ja.texi : $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfp |
|
rm -f pfp-auto-ja.texi |
rm -f pfp-auto-ja.texi |
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --ja --upnode Top ${OPTGENTEXI} >pfp-auto-ja.texi |
cat $(CONTRIB)/pfpcoh.rr $(CONTRIB)/pfphom.rr | $(OXWEAVE) usage | ./gentexi --ja --upnode Top ${OPTGENTEXI} >pfp-auto-ja.texi |
|
|
|
###misc |
|
misc-ja.texi : misc.oxweave |
|
/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 |
|
|
|
###glib |
|
glib-ja.texi : glib.oxweave |
|
/bin/rm -f glib-ja.texi |
|
$(OXWEAVE) C ja <glib.oxweave >glib-ja.texi |
|
glib-en.texi : glib.oxweave |
|
/bin/rm -f glib-en.texi |
|
$(OXWEAVE) C en <glib.oxweave >glib-en.texi |
|
glib-auto-en.texi : ${ASIRLIB}/glib gentexi |
|
rm -f 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 |
|
rm -f glib-auto-ja.texi |
|
cat ${ASIRLIB}/glib | $(OXWEAVE) usage | ./gentexi --category glib --ja --upnode Top ${OPTGENTEXI} >glib-auto-ja.texi |
|
|
|
|
### Generating online manual |
### Generating online manual |
gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) |
gen-help-eg: $(EGSRCS) $(ASIRDOC)/extract_func $(ENAUTO) |
-rm -rf tmp help-eg |
-rm -rf tmp help-eg |
Line 281 install-document : all clean-document |
|
Line 359 install-document : all clean-document |
|
|
|
clean-document : |
clean-document : |
/bin/rm -rf $(OpenXM_doc)/asir-contrib |
/bin/rm -rf $(OpenXM_doc)/asir-contrib |
|
rm -f ./.done_install |
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 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 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 misc-ja.texi misc-en.texi |
/bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja |
/bin/rm -rf help-jp help-eg tmp tmp-ja html-en html-ja |