| version 1.4, 2000/03/14 02:21:40 |
version 1.8, 2000/03/17 15:14:20 |
|
|
| # $OpenXM: OpenXM/src/ox_math/documents/Makefile,v 1.3 2000/01/21 10:56:56 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/documents/Makefile,v 1.7 2000/03/15 22:51:21 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 = ../../.. |
| OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
| LATEX = latex |
#TEXI2DVI = texi2dvi |
| PLATEX = platex |
TEXI2DVI_OX = ${OpenXM_HOME}/misc/texi2dvi |
| DOCUMENTS = math2ox.tex math2ox.dvi ox_math.tex ox_math.dvi readme-jp readme-eg samplelog-sm1.txt |
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 |
|
|
| 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 readme-jp readme-eg math2ox.?? *.fns *.toc |
-rm -f *~ *.log *.aux *.dvi readme-jp readme-eg |
| |
-rm -f *.cp *.fn *.ky *.pg *.tp *.vr *.fns *.toc |