Annotation of OpenXM/src/ox_math/documents/Makefile, Revision 1.10
1.10 ! ohara 1: # $OpenXM: OpenXM/src/ox_math/documents/Makefile,v 1.9 2000/03/17 15:20:30 takayama Exp $
1.2 ohara 2:
3: ## platex is a localized tex compiler for Japanese language.
4: ## ox_math.tex is written in Japanese by the EUC-JP coded character set.
5: ## Therefore, we need platex, which supports the EUC-JP, to compile it.
1.1 ohara 6:
7: OpenXM_HOME = ../../..
1.5 ohara 8: OXWEAVE = ${OpenXM_HOME}/bin/oxweave
1.9 takayama 9: TEXI2DVI = texi2dvi
10: #TEXI2DVI_OX = ${OpenXM_HOME}/misc/texi2dvi
1.8 takayama 11: TEXI2DVI_OX = ptex
1.5 ohara 12: LATEX = latex
13: PLATEX = platex
1.10 ! ohara 14: DOCUMENTS = math2ox.texi math2ox.dvi readme-en
! 15: JDOCUMENTS = ox_math.tex ox_math.dvi readme-ja samplelog-sm1.txt
1.7 takayama 16: WHICH = ${OpenXM_HOME}/misc/which.pl
1.5 ohara 17:
18: all: ${DOCUMENTS} ${JDOCUMENTS}
19:
20: math2ox.dvi: math2ox.texi
1.7 takayama 21: @if ${WHICH} -s texi2dvi ; then \
22: ${TEXI2DVI} math2ox.texi ; \
23: else \
24: ${TEXI2DVI_OX} math2ox.texi ; \
25: fi
1.1 ohara 26:
1.2 ohara 27: ox_math.dvi: ox_math.tex
28: ${PLATEX} ox_math.tex
29: ${PLATEX} ox_math.tex
1.1 ohara 30:
1.10 ! ohara 31: readme-ja: readme.oxweave
! 32: ${OXWEAVE} ja < readme.oxweave > readme-ja
1.3 ohara 33:
1.10 ! ohara 34: readme-en: readme.oxweave
! 35: ${OXWEAVE} en < readme.oxweave > readme-en
1.3 ohara 36:
1.1 ohara 37: install: install-document install-binary
38:
39: install-binary:
40: @echo "No bainaries are installed."
41:
42: install-for-debug:
43: @echo "No bainaries are installed."
44:
1.5 ohara 45: install-document: ${DOCUMENTS} ${JDOCUMENTS}
1.1 ohara 46: -mkdir ${OpenXM_HOME}/doc/ox_math
1.5 ohara 47: cp -f ${DOCUMENTS} ${JDOCUMENTS} ${OpenXM_HOME}/doc/ox_math/
1.1 ohara 48:
49: clean:
1.10 ! ohara 50: -rm -f *~ *.log *.aux *.dvi readme-ja readme-en
1.5 ohara 51: -rm -f *.cp *.fn *.ky *.pg *.tp *.vr *.fns *.toc
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>