=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/M/Makefile.in,v retrieving revision 1.6 retrieving revision 1.11 diff -u -p -r1.6 -r1.11 --- OpenXM/src/asir-contrib/packages/doc/M/Makefile.in 2009/02/21 22:09:11 1.6 +++ OpenXM/src/asir-contrib/packages/doc/M/Makefile.in 2021/01/21 23:30:31 1.11 @@ -1,10 +1,10 @@ -# $OpenXM: OpenXM/src/asir-contrib/packages/doc/M/Makefile.in,v 1.5 2009/02/20 03:05:26 takayama Exp $ +# $OpenXM: OpenXM/src/asir-contrib/packages/doc/M/Makefile.in,v 1.10 2017/08/31 06:31:44 takayama Exp $ # Original file was ../Makefile.common # Targets # gen-texi : generating texi files. # gen-html : generating HTML documents under html-{ja,en} # gen-help : generating online help files under help-{ja,en} -# gen-pdf : generating dvi, ps, pdf files here. +# gen-pdf : generating dvi and pdf files here. # # install-help # Installing online help to OpenXM/lib/asir/help-{ja,en}/xm.help @@ -44,7 +44,8 @@ ASIRDOC=${OpenXM_ROOT}/src/asir-doc ASIRLIB=${OpenXM_ROOT}/../OpenXM_contrib2/asir2000/lib CONTRIB=${OpenXM_ROOT}/src/asir-contrib/packages/src EXTRACT_FUNC=${ASIRDOC}/extract_func -PTEX=@PTEX@ -kanji=euc +PTEX=@PTEX@ +TEX=@TEX@ DVIPDF=@DVIPDF@ MAKEINFO=@MAKEINFO@ # @@ -52,9 +53,9 @@ OPTGENTEXI= --include #OPTGENTEXI= --include --example ## PS documents are installed under ${OpenXM_doc}/asir-contrib DVIPS=dvips -f -TEXI2HTML=texi2html -menu +TEXI2HTML=${ASIRDOC}/texi2html -menu RM=rm -f -NKF=nkf +NKF=nkf -w # source files SRC_TEXI = ${MYNAME}-en.texi ${MYNAME}-ja.texi @@ -66,15 +67,9 @@ SRC_LANG = ${MYNAME}.en ${MYNAME}.ja ${OXWEAVE} C en < $< > ${<:.oxw=.en} .oxw.ja: - ${OXWEAVE} C ja < $< | ${NKF} -e > ${<:.oxw=.ja} + ${OXWEAVE} C ja < $< | ${NKF} -w > ${<:.oxw=.ja} -.dvi.pdf: - ${DVIPDF} $< - -.dvi.ps: - ${DVIPS} $< > ${<:.dvi=.ps} - -.texi.dvi: +.texi.pdf: ${PTEX} $< ${PTEX} $< @@ -83,6 +78,8 @@ all: gen-document ${MYNAME}-ja.dvi: ${MYNAME}.ja ${MYNAME}-en.dvi: ${MYNAME}.en +gen-pdf: ${SRC_TEXI:.texi=.pdf} + gen-document: gen-html -if [ ! -f ./.build_doc_done ]; then \ ${MAKE} ${SRC_TEXI:.texi=.pdf} ; \ @@ -130,7 +127,7 @@ install-document: gen-document for j in ${LANGUAGES} ; do \ mkdir -p "${DOCDIR}/$$j/${MYNAME}-html" ; \ (cd html-$$j; tar cf - .) | (cd "${DOCDIR}/$$j/${MYNAME}-html" ; tar xf -) ; \ - ${INSTALL_DATA} ${MYNAME}-$$j.dvi ${MYNAME}-$$j.ps ${MYNAME}-$$j.pdf ${DOCDIR}/$$j/ ; \ + ${INSTALL_DATA} ${MYNAME}-$$j.pdf ${DOCDIR}/$$j/ ; \ done ; \ touch ./.install_doc_done ; \ fi