version 1.6, 2009/02/22 16:40:05 |
version 1.11, 2017/08/31 01:24:32 |
|
|
# $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.10 2017/03/30 05:36:04 takayama 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@ |
|
LANGUAGES = en ja |
|
INSTALL = cp -f |
|
TEXI2HTML = texi2html |
|
|
all: update-makefile |
.SUFFIXES: .dvi .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 |
.dvi.pdf: |
install2: install-en install-ja install-man-pages |
@echo "xetex has already generated PDF files" |
|
|
all-en: texindex extract_man extract_func man-en.dvi help-en html-en |
all: |
all-ja: texindex extract_man extract_func man-ja.dvi help-ja html-ja html-internal-ja html-exp-ja |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
|
|
install-en: all-en |
all2: help-en html-en help-ja html-ja html-internal-ja html-exp-ja man |
-rm -r -f ${OpenXM_lib_asir}/help-en |
|
-tar cf - help-en | (cd ${OpenXM_lib_asir}; tar xf - ) |
|
-mkdir ${OpenXM_doc_asir2000} |
|
-rm -r -f ${OpenXM_doc_asir2000}/html-en |
|
-tar cf - html-en | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
|
-cp man-en.dvi ${OpenXM_doc_asir2000} |
|
|
|
install-ja: all-ja |
install: all |
-rm -r -f ${OpenXM_lib_asir}/help-ja |
-if [ ! -f .install_done ] ; then \ |
-tar cf - help-ja | (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-ja |
rm -rf ${OpenXM_lib_asir}/help-$$j ; \ |
-tar cf - html-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
rm -rf ${OpenXM_doc_asir2000}/html-$$j ; \ |
-cp man-ja.dvi ${OpenXM_doc_asir2000} |
done ; \ |
-tar cf - html-internal-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
for j in ${LANGUAGES}; do \ |
-tar cf - html-exp-ja | ( cd ${OpenXM_doc_asir2000}; tar xf - ) |
tar cf - help-$$j | (cd ${OpenXM_lib_asir}; tar xf -) ; \ |
|
tar cf - html-$$j | (cd ${OpenXM_doc_asir2000}; tar xf -) ; \ |
|
${INSTALL} man-$$j.dvi 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-man-pages: |
configure-texindex: |
-install asir.1 ${OpenXM_man} |
if [ ! -f .configure_sub_done ]; then \ |
|
(cd jtexindex/C; ./configure; ${MAKE} clean); \ |
|
touch .configure_sub_done ; \ |
|
fi |
|
|
update-makefile: Makefile |
texindex: configure-texindex |
Makefile: Makefile.in |
(cd jtexindex/C; ${MAKE}) |
(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 85 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-ja_utf8 tmp-html-ja tmp-html-internal-ja: extract_man |
|
man-en.dvi man-ja.dvi: texindex |
|
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*.* txi*tex $@ |
-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} |
tmp-ja_utf8: ${SRCS} |
-rm -rf tmp-ja_euc |
-rm -rf $@ |
-mkdir tmp-ja_euc tmp-ja_euc/parts tmp-ja_euc/parts/builtin |
-mkdir -p $@/parts/builtin |
-cp texinfo.* txi*tex tmp-ja_euc |
-cp texinfo*.* txi*tex $@ |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do ./extract_man ja $$i | nkf -w > $@/$$i; done |
./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*.* txi*tex $@ |
-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*.* txi*tex $@ |
-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*.* txi*tex $@ |
-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-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*.* 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" > 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.dvi: tmp-ja |
-rm man-ja.dvi |
|
-(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 tmp-ja/man.dvi man-ja.dvi |
-mv -f tmp-ja/man.dvi $@ |
-touch man-ja.dvi |
-touch $@ |
|
|
man-en.dvi: tmp-en |
man-en.dvi: tmp-en |
-rm man-en.dvi |
-(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 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 |
${DVIPDF} man-ja.dvi |
|
|
|
man-en.pdf: man-en.dvi |
help-ja: tmp-ja_utf8 man-ja.dvi |
${DVIPDF} man-en.dvi |
-rm -rf $@ |
|
-mkdir -p $@ |
|
-(cd tmp-ja_utf8; ${MAKEINFO} man.texi) |
|
-(cd $@; for i in ../tmp-ja_utf8/risaman*; do ../extract_func -j $$i; done) |
|
|
help-ja: tmp-ja_euc man-ja.dvi |
|
-rm -rf help-ja |
|
-mkdir help-ja |
|
-(cd tmp-ja_euc; makeinfo man.texi) |
|
-(cd help-ja; 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.dvi |
-rm -rf help-en |
-rm -rf $@ |
-mkdir help-en |
-mkdir -p $@ |
-(cd help-en; for i in ../tmp-en/risaman*; do ../extract_func $$i; done) |
-(cd $@; 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) |
-(cd $@; ${TEXI2HTML} -expandinfo -menu -split_node exp-ja.texi) |
|
|
internal-ja.dvi: tmp-html-internal-ja |
internal-ja.dvi: tmp-html-internal-ja |
-rm internal-ja.dvi |
|
-(cd tmp-html-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi) |
-(cd tmp-html-internal-ja; ${PTEX} internal.texi; ../jtexindex/C/texindex internal.??; ${PTEX} internal.texi) |
-mv tmp-html-internal-ja/internal.dvi internal-ja.dvi |
-mv -f tmp-html-internal-ja/internal.dvi $@ |
-touch internal-ja.dvi |
-touch $@ |
|
|
extract_func: extract_func.c |
extract_func: extract_func.o |
${CC} -o extract_func extract_func.c |
${CC} -o $@ extract_func.o |
|
|
extract_man: extract_man.c |
extract_man: extract_man.o |
${CC} -o extract_man extract_man.c |
${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 211 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 extract_man extract_func gen_hh .*done |
-rm -f man*.dvi man*.pdf *.o extract_man extract_func gen_hh |
-rm -f internal-ja.dvi |
-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 |