version 1.9, 2009/05/16 04:45:43 |
version 1.17, 2020/09/06 03:26:47 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.8 2009/02/23 06:56:46 ohara Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.16 2020/09/06 01:59:11 noro Exp $ |
OpenXM_HOME=@OpenXM_HOME@ |
OpenXM_HOME=@OpenXM_HOME@ |
OpenXM_doc_asir2000=${OpenXM_HOME}/doc/asir2000 |
OpenXM_doc_asir2000=${OpenXM_HOME}/doc/asir2000 |
OpenXM_lib_asir=${OpenXM_HOME}/lib/asir |
OpenXM_lib_asir=${OpenXM_HOME}/lib/asir |
OpenXM_man=${OpenXM_HOME}/man/man1 |
OpenXM_man=${OpenXM_HOME}/man/man1 |
CC=@CC@ |
CC=@CC@ |
TEX=tex |
TEX=@TEX@ |
PTEX=@PTEX@ |
PTEX=@PTEX@ |
DVIPDF=@DVIPDF@ |
MAKEINFO=@MAKEINFO@ --force |
MAKEINFO=@MAKEINFO@ |
|
LANGUAGES = en ja |
LANGUAGES = en ja |
INSTALL = cp -f |
INSTALL = cp -f |
|
TEXI2HTML = texi2html |
|
|
.SUFFIXES: .dvi .pdf |
.SUFFIXES: .dvi .pdf |
|
|
.dvi.pdf: |
.dvi.pdf: |
${DVIPDF} $< |
@echo "xetex has already generated PDF files" |
|
|
all: |
all: |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
|
|
for j in ${LANGUAGES}; do \ |
for j in ${LANGUAGES}; do \ |
tar cf - help-$$j | (cd ${OpenXM_lib_asir}; tar xf -) ; \ |
tar cf - help-$$j | (cd ${OpenXM_lib_asir}; tar xf -) ; \ |
tar cf - html-$$j | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
tar cf - html-$$j | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
${INSTALL} man-$$j.dvi man-$$j.pdf ${OpenXM_doc_asir2000} ; \ |
${INSTALL} man-$$j.pdf ${OpenXM_doc_asir2000} ; \ |
done ; \ |
done ; \ |
tar cf - html-internal-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
tar cf - html-internal-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
tar cf - html-exp-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
tar cf - html-exp-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
Line 86 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
Line 86 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
int-parts/datatype/vect.texi |
int-parts/datatype/vect.texi |
|
|
tmp-en tmp-html-en: extract_man |
tmp-en tmp-html-en: extract_man |
tmp-ja tmp-ja_euc tmp-html-ja tmp-html-internal-ja: extract_man |
tmp-ja tmp-ja_euc tmp-ja_utf8 tmp-html-ja tmp-html-internal-ja: extract_man |
man-en.dvi man-ja.dvi: texindex |
man-en.pdf man-ja.pdf: texindex |
help-en help-func: extract_func |
help-en help-func: extract_func |
html-win-en html-win: gen_hh |
html-win-en html-win: gen_hh |
|
|
tmp-ja: ${SRCS} |
tmp-ja: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do ./extract_man ja $$i > $@/$$i; done |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$i; done |
|
|
tmp-ja_euc: ${SRCS} |
tmp-ja_euc: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -e > $@/$$i; done |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -e > $@/$$i; done |
|
|
|
tmp-ja_utf8: ${SRCS} |
|
-rm -rf $@ |
|
-mkdir -p $@/parts/builtin |
|
-cp texinfo*.* txi*tex $@ |
|
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$i; done |
|
|
tmp-html-ja: ${SRCS} |
tmp-html-ja: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
./extract_man ja $$i | nkf -w | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
done |
done |
|
|
tmp-en: ${SRCS} |
tmp-en: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do ./extract_man en $$i > $@/$$i; done |
-for i in ${SRCS}; do ./extract_man en $$i > $@/$$i; done |
|
|
tmp-html-en: ${SRCS} |
tmp-html-en: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man en $$i | sed -e "s/@fref/@ref/g" > $@/$$i;\ |
./extract_man en $$i | sed -e "s/@fref/@ref/g" > $@/$$i;\ |
done |
done |
|
|
|
tmp-internal-ja: ${INTERNAL_SRCS} |
|
-rm -rf $@ |
|
-mkdir -p $@/parts/builtin $@/int-parts/datatype |
|
-cp texinfo*.* txi*tex $@ |
|
-for i in ${INTERNAL_SRCS}; do \ |
|
./extract_man ja $$i | nkf -w > $@/$$i; \ |
|
done |
|
|
tmp-html-internal-ja: ${INTERNAL_SRCS} |
tmp-html-internal-ja: ${INTERNAL_SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin $@/int-parts/datatype |
-mkdir -p $@/parts/builtin $@/int-parts/datatype |
-cp texinfo.* txi*tex $@ |
-cp texinfo*.* txi*tex $@ |
-for i in ${INTERNAL_SRCS}; do \ |
-for i in ${INTERNAL_SRCS}; do \ |
./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
./extract_man ja $$i | nkf -w | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
done |
done |
|
|
man-ja.dvi: tmp-ja |
man-ja.pdf: tmp-ja |
-(cd tmp-ja; ${PTEX} man.texi; ../jtexindex/C/texindex man.??; ${PTEX} man.texi) |
-(cd tmp-ja; ${PTEX} man.texi; ../jtexindex/C/texindex man.??; ${PTEX} man.texi) |
-mv -f tmp-ja/man.dvi $@ |
-mv -f tmp-ja/man.pdf $@ |
-touch $@ |
-touch $@ |
|
|
man-en.dvi: tmp-en |
man-en.pdf: tmp-en |
-(cd tmp-en; ${TEX} man.texi; ../jtexindex/C/texindex man.??; ${TEX} man.texi) |
-(cd tmp-en; ${TEX} man.texi; ../jtexindex/C/texindex man.??; ${TEX} man.texi) |
-(cd tmp-en; ${MAKEINFO} man.texi) |
-(cd tmp-en; ${MAKEINFO} man.texi) |
-mv -f tmp-en/man.dvi $@ |
-mv -f tmp-en/man.pdf $@ |
-touch $@ |
-touch $@ |
|
|
man: man-ja.pdf man-en.pdf |
man: man-ja.pdf man-en.pdf internal-ja.pdf exp-ja.pdf |
|
|
help-ja: tmp-ja_euc man-ja.dvi |
help-ja: tmp-ja_euc man-ja.pdf |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd tmp-ja_euc; ${MAKEINFO} man.texi) |
-(cd tmp-ja_euc; ${MAKEINFO} man.texi) |
-(cd $@; for i in ../tmp-ja_euc/risaman*; do ../extract_func -j $$i; done) |
-(cd $@; for i in ../tmp-ja_euc/risaman*; do ../extract_func -j $$i; done) |
|
|
help-en: tmp-en man-en.dvi |
help-en: tmp-en man-en.pdf |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd $@; for i in ../tmp-en/risaman*; do ../extract_func $$i; done) |
-(cd $@; for i in ../tmp-en/risaman*; do ../extract_func $$i; done) |
Line 160 help-en: tmp-en man-en.dvi |
|
Line 174 help-en: tmp-en man-en.dvi |
|
html-ja: tmp-html-ja |
html-ja: tmp-html-ja |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd $@; ../texi2html -menu -split_node ../tmp-html-ja/man.texi) |
-(cd $@; ln -s ../texi2html.perl . ; ../texi2html -menu -split_node ../tmp-html-ja/man.texi) |
|
|
html-en: tmp-html-en |
html-en: tmp-html-en |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd $@; ../texi2html -menu -split_node ../tmp-html-en/man.texi) |
-(cd $@; ln -s ../texi2html.perl . ;../texi2html -menu -split_node ../tmp-html-en/man.texi) |
|
|
html-win: html-ja gen_hh |
html-win: html-ja gen_hh |
-rm -rf $@ |
-rm -rf $@ |
Line 182 html-win-en: html-en gen_hh |
|
Line 196 html-win-en: html-en gen_hh |
|
html-internal-ja: tmp-html-internal-ja |
html-internal-ja: tmp-html-internal-ja |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd $@; ../texi2html ../tmp-html-internal-ja/internal.texi) |
-(cd $@; ln -s ../texi2html.perl . ; ../${TEXI2HTML} ../tmp-html-internal-ja/internal.texi) |
|
|
html-exp-ja: exp/exp-ja.texi |
html-exp-ja: exp/exp-ja.texi |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-nkf -e exp/exp-ja.texi > $@/exp-ja.texi |
-nkf -w exp/exp-ja.texi > $@/exp-ja.texi |
-(cd $@; ../texi2html -expandinfo -menu -split_node exp-ja.texi) |
-cp texinfo*.* txi*tex $@ |
|
-(cd $@; ln -s ../texi2html.perl . ; ../${TEXI2HTML} -expandinfo -menu -split_node exp-ja.texi) |
|
|
internal-ja.dvi: tmp-html-internal-ja |
internal-ja.pdf: tmp-internal-ja |
-(cd tmp-html-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi) |
-(cd tmp-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi) |
-mv -f tmp-html-internal-ja/internal.dvi $@ |
-mv -f tmp-internal-ja/internal.pdf $@ |
-touch $@ |
-touch $@ |
|
|
|
exp-ja.pdf: html-exp-ja |
|
-(cd html-exp-ja; ${PTEX} exp-ja.texi; ../jtexindex/C/texindex exp-ja.??; ${PTEX} exp-ja.texi) |
|
-mv -f html-exp-ja/exp-ja.pdf $@ |
|
-touch $@ |
|
|
extract_func: extract_func.o |
extract_func: extract_func.o |
${CC} -o $@ extract_func.o |
${CC} -o $@ extract_func.o |
|
|
Line 211 targzuu: help-en help-ja html-en html-ja |
|
Line 231 targzuu: help-en help-ja html-en html-ja |
|
-tar cf - html-ja | gzip -9 | uuencode html-ja.tgz > html-ja.uu |
-tar cf - html-ja | gzip -9 | uuencode html-ja.tgz > html-ja.uu |
|
|
clean: |
clean: |
(cd jtexindex/C; ${MAKE} clean) |
-(cd jtexindex/C; ${MAKE} clean) |
-rm -f man*.dvi man*.pdf *.o extract_man extract_func gen_hh |
-rm -f man*.pdf man*.pdf *.o extract_man extract_func gen_hh |
-rm -f internal-ja.dvi |
-rm -f internal-ja.pdf |
-rm -rf tmp* |
-rm -rf tmp* |
-rm -rf help-* |
-rm -rf help-* |
-rm -rf html-* |
-rm -rf html-* |