version 1.48, 2003/07/28 01:17:38 |
version 1.52, 2004/03/05 14:43:36 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.47 2003/05/25 00:00:20 takayama Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.51 2004/02/23 11:38:36 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. |
# 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 |
Line 41 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 |
|
|
|
|
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 356 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 365 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 391 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 410 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 |