version 1.11, 2017/08/31 01:24:32 |
version 1.20, 2021/03/25 05:56:49 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.10 2017/03/30 05:36:04 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.19 2021/01/22 03:07:15 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 |
Line 6 OpenXM_man=${OpenXM_HOME}/man/man1 |
|
Line 6 OpenXM_man=${OpenXM_HOME}/man/man1 |
|
CC=@CC@ |
CC=@CC@ |
TEX=@TEX@ |
TEX=@TEX@ |
PTEX=@PTEX@ |
PTEX=@PTEX@ |
MAKEINFO=@MAKEINFO@ |
MAKEINFO=@MAKEINFO@ --force |
LANGUAGES = en ja |
LANGUAGES = en ja |
INSTALL = cp -f |
INSTALL = cp -f |
TEXI2HTML = texi2html |
TEXI2HTML = @TEXI2HTML@ |
|
TEXINDEX = @TEXINDEX@ |
|
|
.SUFFIXES: .dvi .pdf |
.SUFFIXES: .pdf |
|
|
.dvi.pdf: |
|
@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 -) ; \ |
|
|
touch .install_done ; \ |
touch .install_done ; \ |
fi |
fi |
|
|
configure-texindex: |
|
if [ ! -f .configure_sub_done ]; then \ |
|
(cd jtexindex/C; ./configure; ${MAKE} clean); \ |
|
touch .configure_sub_done ; \ |
|
fi |
|
|
|
texindex: configure-texindex |
|
(cd jtexindex/C; ${MAKE}) |
|
|
|
BUILTINS=\ |
BUILTINS=\ |
parts/builtin/array.texi parts/builtin/bit.texi\ |
parts/builtin/array.texi parts/builtin/bit.texi\ |
parts/builtin/function.texi parts/builtin/io.texi\ |
parts/builtin/function.texi parts/builtin/io.texi\ |
Line 86 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
Line 75 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_utf8 tmp-html-ja tmp-html-internal-ja: extract_man |
tmp-ja tmp-html-ja tmp-html-internal-ja: extract_man |
man-en.dvi man-ja.dvi: 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/* $@ |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$i; done |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$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/* $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man ja $$i | nkf -w | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
./extract_man ja $$i | nkf -w | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
done |
done |
Line 114 tmp-html-ja: ${SRCS} |
|
Line 96 tmp-html-ja: ${SRCS} |
|
tmp-en: ${SRCS} |
tmp-en: ${SRCS} |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo*.* txi*tex $@ |
-cp texinfo/* $@ |
-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/* $@ |
-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/* $@ |
|
-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/* $@ |
-for i in ${INTERNAL_SRCS}; do \ |
-for i in ${INTERNAL_SRCS}; do \ |
./extract_man ja $$i | nkf -w | 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; ${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; ${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_utf8 man-ja.dvi |
help-ja: tmp-ja man-ja.pdf |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd tmp-ja_utf8; ${MAKEINFO} man.texi) |
-(cd tmp-ja; ${MAKEINFO} man.texi) |
-(cd $@; for i in ../tmp-ja_utf8/risaman*; do ../extract_func -j $$i; done) |
-(cd $@; for i in ../tmp-ja/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 150 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 $@; ${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 $@; ${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 188 html-exp-ja: exp/exp-ja.texi |
|
Line 178 html-exp-ja: exp/exp-ja.texi |
|
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-nkf -w exp/exp-ja.texi > $@/exp-ja.texi |
-nkf -w exp/exp-ja.texi > $@/exp-ja.texi |
|
-cp texinfo/* $@ |
-(cd $@; ${TEXI2HTML} -expandinfo -menu -split_node exp-ja.texi) |
-(cd $@; ${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; ${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; ${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 207 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) |
-rm -f man*.pdf man*.pdf *.o extract_man extract_func gen_hh |
-rm -f man*.dvi man*.pdf *.o extract_man extract_func gen_hh |
-rm -f internal-ja.pdf exp-ja.pdf |
-rm -f internal-ja.dvi |
|
-rm -rf tmp* |
-rm -rf tmp* |
-rm -rf help-* |
-rm -rf help-* |
-rm -rf html-* |
-rm -rf html-* |