version 1.6, 2009/02/22 16:40:05 |
version 1.20, 2021/03/25 05:56:49 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.5 2007/09/29 05:17:08 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.19 2021/01/22 03:07:15 noro Exp $ |
OpenXM_HOME=@prefix@ |
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@ |
PTEX=@PTEX@ |
PTEX=@PTEX@ |
DVIPDF=dvipdfmx |
MAKEINFO=@MAKEINFO@ --force |
|
LANGUAGES = en ja |
|
INSTALL = cp -f |
|
TEXI2HTML = @TEXI2HTML@ |
|
TEXINDEX = @TEXINDEX@ |
|
|
all: update-makefile |
.SUFFIXES: .pdf |
if [ ! -f .make_done ]; then make all2 ; touch .make_done ; fi |
|
install: |
|
if [ ! -f .install_done ] ; then make install2 ; touch .install_done ; fi |
|
|
|
all2: all-en all-ja |
all: |
install2: install-en install-ja install-man-pages |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
|
|
all-en: texindex extract_man extract_func man-en.dvi help-en html-en |
all2: help-en html-en help-ja html-ja html-internal-ja html-exp-ja man |
all-ja: texindex extract_man extract_func man-ja.dvi help-ja html-ja html-internal-ja html-exp-ja |
|
|
|
install-en: all-en |
install: all |
-rm -r -f ${OpenXM_lib_asir}/help-en |
-if [ ! -f .install_done ] ; then \ |
-tar cf - help-en | (cd ${OpenXM_lib_asir}; tar xf - ) |
test -d ${OpenXM_doc_asir2000} || mkdir -p ${OpenXM_doc_asir2000} ; \ |
-mkdir ${OpenXM_doc_asir2000} |
for j in ${LANGUAGES}; do \ |
-rm -r -f ${OpenXM_doc_asir2000}/html-en |
rm -rf ${OpenXM_lib_asir}/help-$$j ; \ |
-tar cf - html-en | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
rm -rf ${OpenXM_doc_asir2000}/html-$$j ; \ |
-cp man-en.dvi ${OpenXM_doc_asir2000} |
done ; \ |
|
for j in ${LANGUAGES}; do \ |
|
tar cf - help-$$j | (cd ${OpenXM_lib_asir}; tar xf -) ; \ |
|
tar cf - html-$$j | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
|
${INSTALL} man-$$j.pdf ${OpenXM_doc_asir2000} ; \ |
|
done ; \ |
|
tar cf - html-internal-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
|
tar cf - html-exp-ja | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
|
${INSTALL} asir.1 ${OpenXM_man} ; \ |
|
touch .install_done ; \ |
|
fi |
|
|
install-ja: all-ja |
|
-rm -r -f ${OpenXM_lib_asir}/help-ja |
|
-tar cf - help-ja | (cd ${OpenXM_lib_asir}; tar xf - ) |
|
-mkdir ${OpenXM_doc_asir2000} |
|
-rm -r -f ${OpenXM_doc_asir2000}/html-ja |
|
-tar cf - html-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
|
-cp man-ja.dvi ${OpenXM_doc_asir2000} |
|
-tar cf - html-internal-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
|
-tar cf - html-exp-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
|
|
|
install-man-pages: |
|
-install asir.1 ${OpenXM_man} |
|
|
|
update-makefile: Makefile |
|
Makefile: Makefile.in |
|
(rm -f .configure_done ; ./make-configure) |
|
|
|
configure: |
|
(cd jtexindex/C; ./configure; make clean) |
|
|
|
texindex: |
|
(cd jtexindex/C; make) |
|
|
|
nkf: |
|
(cd nkf-1.7; 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 89 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
Line 74 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
int-parts/datatype/string.texi\ |
int-parts/datatype/string.texi\ |
int-parts/datatype/vect.texi |
int-parts/datatype/vect.texi |
|
|
|
tmp-en tmp-html-en: extract_man |
|
tmp-ja tmp-html-ja tmp-html-internal-ja: extract_man |
|
help-en help-func: extract_func |
|
html-win-en html-win: gen_hh |
|
|
tmp-ja: ${SRCS} |
tmp-ja: ${SRCS} |
-rm -rf tmp-ja |
-rm -rf $@ |
-mkdir tmp-ja tmp-ja/parts tmp-ja/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex tmp-ja |
-cp texinfo/* $@ |
-for i in ${SRCS}; do ./extract_man ja $$i > tmp-ja/$$i; done |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$i; done |
|
|
tmp-ja_euc: ${SRCS} |
|
-rm -rf tmp-ja_euc |
|
-mkdir tmp-ja_euc tmp-ja_euc/parts tmp-ja_euc/parts/builtin |
|
-cp texinfo.* txi*tex tmp-ja_euc |
|
-for i in ${SRCS}; do \ |
|
./extract_man ja $$i | nkf -e > tmp-ja_euc/$$i; \ |
|
done |
|
|
|
tmp-html-ja: ${SRCS} |
tmp-html-ja: ${SRCS} |
-rm -rf tmp-html-ja |
-rm -rf $@ |
-mkdir tmp-html-ja tmp-html-ja/parts tmp-html-ja/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex tmp-html-ja |
-cp texinfo/* $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-html-ja/$$i; \ |
./extract_man ja $$i | nkf -w | sed -e "s/@fref/@ref/g" > $@/$$i; \ |
done |
done |
|
|
tmp-en: ${SRCS} |
tmp-en: ${SRCS} |
-rm -rf tmp-en |
-rm -rf $@ |
-mkdir tmp-en tmp-en/parts tmp-en/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex tmp-en |
-cp texinfo/* $@ |
-for i in ${SRCS}; do ./extract_man en $$i > tmp-en/$$i; done |
-for i in ${SRCS}; do ./extract_man en $$i > $@/$$i; done |
|
|
tmp-html-en: ${SRCS} |
tmp-html-en: ${SRCS} |
-rm -rf tmp-html-en |
-rm -rf $@ |
-mkdir tmp-html-en tmp-html-en/parts tmp-html-en/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex tmp-en |
-cp texinfo/* $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man en $$i | sed -e "s/@fref/@ref/g" > tmp-html-en/$$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 tmp-html-internal-ja |
-rm -rf $@ |
-mkdir tmp-html-internal-ja tmp-html-internal-ja/int-parts tmp-html-internal-ja/int-parts/datatype |
-mkdir -p $@/parts/builtin $@/int-parts/datatype |
-cp texinfo.* txi*tex tmp-html-internal-ja |
-cp texinfo/* $@ |
-for i in ${INTERNAL_SRCS}; do \ |
-for i in ${INTERNAL_SRCS}; do \ |
./extract_man ja $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-html-internal-ja/$$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 |
-rm man-ja.dvi |
-(cd tmp-ja; ${PTEX} man.texi; ${TEXINDEX} man.??; ${PTEX} man.texi) |
-(cd tmp-ja; ${PTEX} man.texi; ../jtexindex/C/texindex man.??; ${PTEX} man.texi) |
-mv -f tmp-ja/man.pdf $@ |
-mv tmp-ja/man.dvi man-ja.dvi |
-touch $@ |
-touch man-ja.dvi |
|
|
|
man-en.dvi: tmp-en |
man-en.pdf: tmp-en |
-rm man-en.dvi |
-(cd tmp-en; ${TEX} man.texi; ${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.pdf $@ |
-mv tmp-en/man.dvi man-en.dvi |
-touch $@ |
-touch man-en.dvi |
|
|
|
man-ja.pdf: man-ja.dvi |
man: man-ja.pdf man-en.pdf internal-ja.pdf exp-ja.pdf |
${DVIPDF} man-ja.dvi |
|
|
|
man-en.pdf: man-en.dvi |
help-ja: tmp-ja man-ja.pdf |
${DVIPDF} man-en.dvi |
-rm -rf $@ |
|
-mkdir -p $@ |
|
-(cd tmp-ja; ${MAKEINFO} man.texi) |
|
-(cd $@; for i in ../tmp-ja/risaman*; do ../extract_func -j $$i; done) |
|
|
help-ja: tmp-ja_euc man-ja.dvi |
help-en: tmp-en man-en.pdf |
-rm -rf help-ja |
-rm -rf $@ |
-mkdir help-ja |
-mkdir -p $@ |
-(cd tmp-ja_euc; makeinfo man.texi) |
-(cd $@; for i in ../tmp-en/risaman*; do ../extract_func $$i; done) |
-(cd help-ja; for i in ../tmp-ja_euc/risaman*; do ../extract_func -j $$i; done) |
|
|
|
help-en: tmp-en man-en.dvi |
|
-rm -rf help-en |
|
-mkdir help-en |
|
-(cd help-en; for i in ../tmp-en/risaman*; do ../extract_func $$i; done) |
|
|
|
html-ja: tmp-html-ja |
html-ja: tmp-html-ja |
-rm -rf html-ja |
-rm -rf $@ |
-mkdir html-ja |
-mkdir -p $@ |
-(cd html-ja; ../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 html-en |
-rm -rf $@ |
-mkdir html-en |
-mkdir -p $@ |
-(cd html-en; ../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 html-win |
-rm -rf $@ |
-mkdir html-win |
-mkdir -p $@ |
(cd html-ja; for i in *; do nkf -s $$i > ../html-win/$$i; done) |
(cd html-ja; for i in *; do nkf -s $$i > ../$@/$$i; done) |
gen_hh html-win html-win |
gen_hh html-win html-win |
|
|
html-win-en: html-en gen_hh |
html-win-en: html-en gen_hh |
-rm -rf html-win-en |
-rm -rf $@ |
-mkdir html-win-en |
-mkdir -p $@ |
(cd html-en; for i in *; do nkf -s $$i > ../html-win-en/$$i; done) |
(cd html-en; for i in *; do nkf -s $$i > ../$@/$$i; done) |
gen_hh html-win-en html-win-en |
gen_hh html-win-en html-win-en |
|
|
html-internal-ja: tmp-html-internal-ja |
html-internal-ja: tmp-html-internal-ja |
-rm -rf html-internal-ja |
-rm -rf $@ |
-mkdir html-internal-ja |
-mkdir -p $@ |
-(cd html-internal-ja; ../texi2html ../tmp-html-internal-ja/internal.texi) |
-(cd $@; ${TEXI2HTML} ../tmp-html-internal-ja/internal.texi) |
|
|
html-exp-ja: exp/exp-ja.texi |
html-exp-ja: exp/exp-ja.texi |
-rm -rf html-exp-ja |
-rm -rf $@ |
-mkdir html-exp-ja |
-mkdir -p $@ |
-nkf -e <exp/exp-ja.texi >html-exp-ja/exp-ja.texi |
-nkf -w exp/exp-ja.texi > $@/exp-ja.texi |
-(cd html-exp-ja; ../texi2html -menu -split_node exp-ja.texi) |
-cp texinfo/* $@ |
|
-(cd $@; ${TEXI2HTML} -expandinfo -menu -split_node exp-ja.texi) |
|
|
internal-ja.dvi: tmp-html-internal-ja |
internal-ja.pdf: tmp-internal-ja |
-rm internal-ja.dvi |
-(cd tmp-internal-ja; ${PTEX} internal.texi; ${TEXINDEX} internal.??; ${PTEX} internal.texi) |
-(cd tmp-html-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi) |
-mv -f tmp-internal-ja/internal.pdf $@ |
-mv tmp-html-internal-ja/internal.dvi internal-ja.dvi |
-touch $@ |
-touch internal-ja.dvi |
|
|
|
extract_func: extract_func.c |
exp-ja.pdf: html-exp-ja |
${CC} -o extract_func extract_func.c |
-(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_man: extract_man.c |
extract_func: extract_func.o |
${CC} -o extract_man extract_man.c |
${CC} -o $@ extract_func.o |
|
|
|
extract_man: extract_man.o |
|
${CC} -o $@ extract_man.o |
|
|
gen_hh: html_tools/gen_hh.c |
gen_hh: html_tools/gen_hh.c |
${CC} -o gen_hh html_tools/gen_hh.c |
${CC} -o $@ html_tools/gen_hh.c |
|
|
targzuu: help-en help-ja html-en html-ja |
targzuu: help-en help-ja html-en html-ja |
-tar cf - help-en | gzip -9 | uuencode help-en.tgz > help-en.uu |
-tar cf - help-en | gzip -9 | uuencode help-en.tgz > help-en.uu |
Line 218 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 extract_man extract_func gen_hh .*done |
-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-* |
|
|
|
distclean: clean |
|
-rm -rf autom4te.cache config.log config.status Makefile |
|
-rm -f .configure*_done .make_done .install_done |