version 1.2, 2000/01/21 10:34:33 |
version 1.7, 2000/03/15 22:51:21 |
|
|
# $OpenXM: OpenXM/src/ox_math/documents/Makefile,v 1.1 2000/01/20 07:47:30 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/documents/Makefile,v 1.6 2000/03/15 10:02:00 takayama Exp $ |
|
|
## platex is a localized tex compiler for Japanese language. |
## platex is a localized tex compiler for Japanese language. |
## ox_math.tex is written in Japanese by the EUC-JP coded character set. |
## ox_math.tex is written in Japanese by the EUC-JP coded character set. |
## Therefore, we need platex, which supports the EUC-JP, to compile it. |
## Therefore, we need platex, which supports the EUC-JP, to compile it. |
|
|
OpenXM_HOME = ../../.. |
OpenXM_HOME = ../../.. |
LATEX = latex |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
PLATEX = platex |
TEXI2DVI = texi2dvi |
DOCUMENTS = math2ox.tex math2ox.dvi ox_math.tex ox_math.dvi readme.jp samplelog-sm1.txt |
TEXI2DVI_OX = ${OpenXM_HOME}/misc/texi2dvi |
|
#TEXI2DVI_OX = ptex |
|
LATEX = latex |
|
PLATEX = platex |
|
DOCUMENTS = math2ox.texi math2ox.dvi readme-eg |
|
JDOCUMENTS = ox_math.tex ox_math.dvi readme-jp samplelog-sm1.txt |
|
WHICH = ${OpenXM_HOME}/misc/which.pl |
|
|
all: ${DOCUMENTS} |
all: ${DOCUMENTS} ${JDOCUMENTS} |
|
|
math2ox.dvi: math2ox.tex |
math2ox.dvi: math2ox.texi |
${LATEX} math2ox.tex |
@if ${WHICH} -s texi2dvi ; then \ |
${LATEX} math2ox.tex |
${TEXI2DVI} math2ox.texi ; \ |
|
else \ |
|
${TEXI2DVI_OX} math2ox.texi ; \ |
|
fi |
|
|
ox_math.dvi: ox_math.tex |
ox_math.dvi: ox_math.tex |
${PLATEX} ox_math.tex |
${PLATEX} ox_math.tex |
${PLATEX} ox_math.tex |
${PLATEX} ox_math.tex |
|
|
|
readme-jp: readme.oxweave |
|
${OXWEAVE} ja < readme.oxweave > readme-jp |
|
|
|
readme-eg: readme.oxweave |
|
${OXWEAVE} en < readme.oxweave > readme-eg |
|
|
|
|
install: install-document install-binary |
install: install-document install-binary |
|
|
install-binary: |
install-binary: |
|
|
install-for-debug: |
install-for-debug: |
@echo "No bainaries are installed." |
@echo "No bainaries are installed." |
|
|
install-document: ${DOCUMENTS} |
install-document: ${DOCUMENTS} ${JDOCUMENTS} |
-mkdir ${OpenXM_HOME}/doc/ox_math |
-mkdir ${OpenXM_HOME}/doc/ox_math |
cp -f ${DOCUMENTS} ${OpenXM_HOME}/doc/ox_math/ |
cp -f ${DOCUMENTS} ${JDOCUMENTS} ${OpenXM_HOME}/doc/ox_math/ |
|
|
clean: |
clean: |
-rm -f *~ *.log *.aux *.dvi |
|
|
|
|
-rm -f *~ *.log *.aux *.dvi readme-jp readme-eg |
|
-rm -f *.cp *.fn *.ky *.pg *.tp *.vr *.fns *.toc |