=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/plucker/Makefile,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- OpenXM/src/asir-contrib/packages/doc/plucker/Makefile 2005/04/13 11:16:26 1.1 +++ OpenXM/src/asir-contrib/packages/doc/plucker/Makefile 2009/02/21 22:09:12 1.4 @@ -1,33 +1,26 @@ -#$OpenXM$ +#$OpenXM: OpenXM/src/asir-contrib/packages/doc/plucker/Makefile,v 1.3 2007/09/29 07:29:30 takayama Exp $ # Name of this document. MYNAME=plucker -SRC = plucker.oxw +SRC_RR = ${CONTRIB}/${MYNAME}.rr -ENSRCS = ${SRC:.oxw=.en} -JASRCS = ${SRC:.oxw=.ja} -ENAUTO= plucker-auto.en -JAAUTO=${ENAUTO:.en=.ja} GENTEXI_OPT=--noSorting --author "OpenXM.org" --infoName asir-contrib-${MYNAME} -include ../Makefile.common +include ../M/Makefile clean_private: - ${RM} -f ${MYNAME}-ja.texi ${MYNAME}-en.texi + ${RM} ${MYNAME}-ja.texi ${MYNAME}-en.texi -${MYNAME}-ja.texi: ${MYNAME}.oxg - @echo "plucker =?ISO-2022-JP?B?GyRCJV4lSyVlJSIlaxsoQg==?= " >title.tmp -# generated by nkf -M - ${NKF} -j ${MYNAME}.oxg | ${OXWEAVE} usage-ja | ${OXGENTEXI} ${GENTEXI_OPT} --title "`nkf -e title.tmp`" >${MYNAME}-ja.texi - rm -f title.tmp +${MYNAME}-ja.texi: ${MYNAME}.oxg ${MYNAME}-auto.ja + @echo "plucker =?ISO-2022-JP?B?GyRCJV4lSyVlJSIlaxsoQg==?= " > title.tmp + cat ${MYNAME}.oxg | ${OXWEAVE} usage-ja | ${OXGENTEXI} ${GENTEXI_OPT} --title "`${NKF} -e title.tmp`" > $@ + ${RM} title.tmp -${MYNAME}-en.texi: ${MYNAME}.oxg - ${NKF} -j ${MYNAME}.oxg | ${OXWEAVE} usage-en | ${OXGENTEXI} ${GENTEXI_OPT} --title "Plucker Manual" >${MYNAME}-en.texi +${MYNAME}-en.texi: ${MYNAME}.oxg ${MYNAME}-auto.en + cat ${MYNAME}.oxg | ${OXWEAVE} usage-en | ${OXGENTEXI} ${GENTEXI_OPT} --title "Plucker Manual" > $@ -${MYNAME}-auto.en: ${CONTRIB}/plucker.rr - ${RM} -f plucker-auto.en - ${OXWEAVE} usage <${CONTRIB}/plucker.rr | ${OXGENTEXI} --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto.en +${MYNAME}-auto.en: ${SRC_RR} + cat ${SRC_RR} | ${OXWEAVE} usage | ${OXGENTEXI} --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} > $@ -${MYNAME}-auto.ja: ${CONTRIB}/plucker.rr - ${RM} -f plucker-auto.ja - ${OXWEAVE} usage <${CONTRIB}/plucker.rr | ${OXGENTEXI} --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} >plucker-auto.ja +${MYNAME}-auto.ja: ${SRC_RR} + cat ${SRC_RR} | ${OXWEAVE} usage | ${OXGENTEXI} --category plucker --en --upnode "Plucker relations" ${OPTGENTEXI} > $@