version 1.1, 2004/07/02 07:48:47 |
version 1.5, 2005/03/24 08:50:02 |
|
|
#$OpenXM$ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.4 2005/03/24 05:51:51 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. |
Line 52 SRC = base.oxweave calculus.oxweave complex.oxweave ds |
|
Line 52 SRC = base.oxweave calculus.oxweave complex.oxweave ds |
|
intro.oxweave m.oxweave matrix.oxweave misc.oxweave names.oxweave \ |
intro.oxweave m.oxweave matrix.oxweave misc.oxweave names.oxweave \ |
number.oxweave oxrfc100.oxweave pfp.oxweave phc.oxweave \ |
number.oxweave oxrfc100.oxweave pfp.oxweave phc.oxweave \ |
plucker.oxweave poly.oxweave print.oxweave series.oxweave sm1.oxweave \ |
plucker.oxweave poly.oxweave print.oxweave series.oxweave sm1.oxweave \ |
tigers.oxweave util.oxweave windows.oxweave |
tigers.oxweave util.oxweave windows.oxweave oxshell.oxweave |
|
|
ENSRCS = ${SRC:.oxweave=.en} opening.texi oxom.en |
ENSRCS = ${SRC:.oxweave=.en} opening.texi oxom.en |
JASRCS = ${SRC:.oxweave=.ja} opening.texi oxom.ja Diff-ja.texi Dmodule-ja.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 \ |
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 |
plucker-auto.en poly-auto.en print-auto.en sm1-auto.en util-auto.en \ |
|
oxshell-auto.en |
JAAUTO=${ENAUTO:.en=.ja} |
JAAUTO=${ENAUTO:.en=.ja} |
|
|
|
SUBDIRS=todo_parametrize |
|
|
.SUFFIXES: .en .ja .oxweave .dvi .pdf |
.SUFFIXES: .en .ja .oxweave .dvi .pdf |
|
|
.oxweave.en: |
.oxweave.en: |
Line 183 util-auto.en : ${CONTRIB}/names.rr gentexi |
|
Line 186 util-auto.en : ${CONTRIB}/names.rr gentexi |
|
util-auto.ja : ${CONTRIB}/names.rr gentexi |
util-auto.ja : ${CONTRIB}/names.rr gentexi |
${RM} -f util-auto.ja |
${RM} -f util-auto.ja |
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category util --ja --upnode "Utility Functions" ${OPTGENTEXI} >util-auto.ja |
cat ${CONTRIB}/names.rr | ${OXWEAVE} usage | ./gentexi --category util --ja --upnode "Utility Functions" ${OPTGENTEXI} >util-auto.ja |
|
### oxshell |
|
oxshell-auto.en : ${CONTRIB}/oxshell.rr gentexi |
|
${RM} -f oxshell-auto.en |
|
cat ${CONTRIB}/oxshell.rr | ${OXWEAVE} usage | ./gentexi --category oxshell --en --upnode "Oxshell Functions" ${OPTGENTEXI} >oxshell-auto.en |
|
oxshell-auto.ja : ${CONTRIB}/oxshell.rr gentexi |
|
${RM} -f oxshell-auto.ja |
|
cat ${CONTRIB}/oxshell.rr | ${OXWEAVE} usage | ./gentexi --category oxshell --ja --upnode "Oxshell Functions" ${OPTGENTEXI} >oxshell-auto.ja |
|
|
### Generating online manual |
### Generating online manual |
gen-help-en: ${ENSRCS} ${ASIRDOC}/extract_func ${ENAUTO} |
gen-help-en: ${ENSRCS} ${ASIRDOC}/extract_func ${ENAUTO} |
Line 191 gen-help-en: ${ENSRCS} ${ASIRDOC}/extract_func ${ENAUT |
|
Line 201 gen-help-en: ${ENSRCS} ${ASIRDOC}/extract_func ${ENAUT |
|
cp cman-en.texi ${ENSRCS} ${ENAUTO} tmp-en |
cp cman-en.texi ${ENSRCS} ${ENAUTO} tmp-en |
-(cd tmp-en; makeinfo --force cman-en.texi) |
-(cd tmp-en; makeinfo --force cman-en.texi) |
(cd help-en; for i in ../tmp-en/asir-contrib*; do ../${ASIRDOC}/extract_func $$i; done) |
(cd help-en; for i in ../tmp-en/asir-contrib*; do ../${ASIRDOC}/extract_func $$i; done) |
|
-for i in ${SUBDIRS}; do (cd $$i; make gen-help-en); done |
|
|
gen-help-ja: ${JASRCS} ${ASIRDOC}/extract_func ${JAAUTO} |
gen-help-ja: ${JASRCS} ${ASIRDOC}/extract_func ${JAAUTO} |
-${RM} -rf tmp-ja help-ja |
-${RM} -rf tmp-ja help-ja |
Line 198 gen-help-ja: ${JASRCS} ${ASIRDOC}/extract_func ${JAAUT |
|
Line 209 gen-help-ja: ${JASRCS} ${ASIRDOC}/extract_func ${JAAUT |
|
for i in cman-ja.texi ${JASRCS} ${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-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) |
|
-for i in ${SUBDIRS}; do (cd $$i; make gen-help-ja); done |
|
|
gen-html-en: gen-help-en |
gen-html-en: gen-help-en |
-${RM} -rf html-en |
-${RM} -rf html-en |
-mkdir html-en |
-mkdir html-en |
-cp tmp-en/*.texi tmp-en/*.en html-en |
-cp tmp-en/*.texi tmp-en/*.en html-en |
-(cd html-en; ${TEXI2HTML} cman-en.texi) |
-(cd html-en; ${TEXI2HTML} cman-en.texi) |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' gen-html-en); done |
|
|
gen-html-ja: gen-help-ja |
gen-html-ja: gen-help-ja |
-mkdir html-ja |
-mkdir html-ja |
-cp tmp-ja/*.texi tmp-ja/*.ja html-ja |
-cp tmp-ja/*.texi tmp-ja/*.ja html-ja |
-cp tmp-ja/cman-ja.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) |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' gen-html-ja); done |
|
|
install-help: |
install-help: |
-make install-help-en |
-make install-help-en |
|
|
install-help-ja: gen-help-ja |
install-help-ja: gen-help-ja |
${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help |
${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help |
mkdir ${INSTALL_lib}/asir/help-jp/xm.help |
mkdir ${INSTALL_lib}/asir/help-jp/xm.help |
-cp -f help-ja/* ${INSTALL_lib}/asir/help-jp/xm.help |
-cp -r -f help-ja/* ${INSTALL_lib}/asir/help-jp/xm.help |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' install-help-ja); done |
install-help-en: gen-help-en |
install-help-en: gen-help-en |
${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help |
${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help |
mkdir ${INSTALL_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 |
-cp -r -f help-en/* ${INSTALL_lib}/asir/help-eg/xm.help |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' install-help-en); done |
|
|
install-html-help: gen-html-en gen-html-ja |
install-html-help: gen-html-en gen-html-ja |
-mkdir ${INSTALL_doc}/asir-contrib |
-mkdir ${INSTALL_doc}/asir-contrib |
-( tar cf - html-en | (cd ${INSTALL_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 -)) |
-( tar cf - html-ja | (cd ${INSTALL_doc}/asir-contrib ; tar xf -)) |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' install-html-help); done |
|
|
install-document2 : gen-dvi-ps |
install-document2 : gen-dvi-ps |
-mkdir ${INSTALL_lib}/asir-contrib |
-mkdir ${INSTALL_lib}/asir-contrib |
Line 235 install-document2 : gen-dvi-ps |
|
Line 252 install-document2 : gen-dvi-ps |
|
-$(DVIPS) cman-ja >${INSTALL_doc}/asir-contrib/cman-ja.ps |
-$(DVIPS) cman-ja >${INSTALL_doc}/asir-contrib/cman-ja.ps |
-cp cman-en.dvi ${INSTALL_doc}/asir-contrib/cman-en.dvi |
-cp cman-en.dvi ${INSTALL_doc}/asir-contrib/cman-en.dvi |
-$(DVIPS) cman-en >${INSTALL_doc}/asir-contrib/cman-en.ps |
-$(DVIPS) cman-en >${INSTALL_doc}/asir-contrib/cman-en.ps |
|
-for i in ${SUBDIRS}; do (cd $$i; make TEXI2HTML='${TEXI2HTML}' OXWEAVE='${OXWEAVE}' DVIPS='${DVIPS}' RM='${RM}' INSTALL_lib='${INSTALL_lib}' INSTALL_doc='${INSTALL_doc}' install-document2); done |
|
|
gen-dvi-ps: all clean-mk-openxm-asir-contrib-document-dir cman-ja.dvi cman-en.dvi |
gen-dvi-ps: all clean-mk-openxm-asir-contrib-document-dir cman-ja.dvi cman-en.dvi |
cman-ja.dvi: ${JASRCS} ${JAAUTO} |
cman-ja.dvi: ${JASRCS} ${JAAUTO} |
-ptex cman-ja.texi |
-ptex cman-ja.texi |
|
|
${RM} -f *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *~ |
${RM} -f *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *~ |
${RM} -f *.en *.ja |
${RM} -f *.en *.ja |
${RM} -rf help-ja help-en tmp-en tmp-ja html-en html-ja |
${RM} -rf help-ja help-en tmp-en tmp-ja html-en html-ja |
|
for i in ${SUBDIRS}; do (cd $$i; make clean); done |