version 1.4, 2005/03/24 05:51:51 |
version 1.6, 2005/04/08 06:32:07 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.3 2005/02/09 03:25:50 noro Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.5 2005/03/24 08:50:02 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 61 ENAUTO= base-auto.en glib-auto.en matrix-auto.en numb |
|
Line 61 ENAUTO= base-auto.en glib-auto.en matrix-auto.en numb |
|
oxshell-auto.en |
oxshell-auto.en |
JAAUTO=${ENAUTO:.en=.ja} |
JAAUTO=${ENAUTO:.en=.ja} |
|
|
TOP_EN = cman-en |
SUBDIRS=todo_parametrize |
TOP_JA = cman-ja todo_parametrize_ja |
|
|
|
.SUFFIXES: .en .ja .oxweave .dvi .pdf |
.SUFFIXES: .en .ja .oxweave .dvi .pdf |
|
|
Line 102 install2 : install-help |
|
Line 101 install2 : install-help |
|
gentexi : gentexi.c |
gentexi : gentexi.c |
gcc -o gentexi gentexi.c |
gcc -o gentexi gentexi.c |
|
|
oxom.ja : ${CONTRIB}/om |
oxom.ja : ${CONTRIB}/om.rr |
${RM} -f oxom.ja |
${RM} -f oxom.ja |
${OXWEAVE} C ja <${CONTRIB}/om >oxom.ja |
${OXWEAVE} C ja <${CONTRIB}/om.rr >oxom.ja |
oxom.en : ${CONTRIB}/om |
oxom.en : ${CONTRIB}/om.rr |
${RM} -f oxom.en |
${RM} -f oxom.en |
${OXWEAVE} C en <${CONTRIB}/om >oxom.en |
${OXWEAVE} C en <${CONTRIB}/om.rr >oxom.en |
|
|
### base |
### base |
base-auto.en : ${CONTRIB}/names.rr gentexi |
base-auto.en : ${CONTRIB}/names.rr gentexi |
Line 157 poly-auto.ja : ${CONTRIB}/names.rr gentexi |
|
Line 156 poly-auto.ja : ${CONTRIB}/names.rr gentexi |
|
${RM} -f poly-auto.ja |
${RM} -f poly-auto.ja |
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category poly --ja --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto.ja |
${OXWEAVE} usage <${CONTRIB}/names.rr | ./gentexi --category poly --ja --upnode "Polynomials (Standard Mathematical Functions)" ${OPTGENTEXI} >poly-auto.ja |
### sm1 |
### sm1 |
sm1-auto.en : ${CONTRIB}/sm1 gentexi |
sm1-auto.en : ${CONTRIB}/sm1.rr gentexi |
${RM} -f sm1-auto.en |
${RM} -f sm1-auto.en |
${OXWEAVE} usage <${CONTRIB}/sm1 | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.en |
${OXWEAVE} usage <${CONTRIB}/sm1.rr | ./gentexi --category sm1 --en --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.en |
sm1-auto.ja : ${CONTRIB}/sm1 gentexi |
sm1-auto.ja : ${CONTRIB}/sm1.rr gentexi |
${RM} -f sm1-auto.ja |
${RM} -f sm1-auto.ja |
${OXWEAVE} usage <${CONTRIB}/sm1 | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.ja |
${OXWEAVE} usage <${CONTRIB}/sm1.rr | ./gentexi --category sm1 --ja --upnode "SM1 Functions" ${OPTGENTEXI} >sm1-auto.ja |
|
|
### glib |
### glib |
glib-auto.en : ${ASIRLIB}/glib gentexi |
glib-auto.en : ${ASIRLIB}/glib gentexi |
Line 202 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 209 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 |
Line 230 install-help-ja: gen-help-ja |
|
Line 233 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 -r -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 -r -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 246 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 |