version 1.7, 2009/02/22 23:35:12 |
version 1.10, 2017/03/30 05:36:04 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.6 2009/02/22 16:40:05 ohara Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile.in,v 1.9 2009/05/16 04:45:43 ohara 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 |
DVIPDF=@DVIPDF@ |
|
MAKEINFO=@MAKEINFO@ |
LANGUAGES = en ja |
LANGUAGES = en ja |
INSTALL = cp -f |
INSTALL = cp -f |
|
|
|
|
.dvi.pdf: |
.dvi.pdf: |
${DVIPDF} $< |
${DVIPDF} $< |
|
|
all: update-makefile |
all: |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
if [ ! -f .make_done ]; then ${MAKE} all2 ; touch .make_done ; fi |
|
|
all2: help-en html-en help-ja html-ja html-internal-ja html-exp-ja |
all2: help-en html-en help-ja html-ja html-internal-ja html-exp-ja man |
|
|
install: all |
install: all |
if [ ! -f .install_done ] ; then \ |
-if [ ! -f .install_done ] ; then \ |
mkdir ${OpenXM_doc_asir2000} ; \ |
test -d ${OpenXM_doc_asir2000} || mkdir -p ${OpenXM_doc_asir2000} ; \ |
for j in ${LANGUAGES}; do \ |
for j in ${LANGUAGES}; do \ |
rm -rf ${OpenXM_lib_asir}/help-$$j ; \ |
rm -rf ${OpenXM_lib_asir}/help-$$j ; \ |
rm -rf ${OpenXM_doc_asir2000}/html-$$j ; \ |
rm -rf ${OpenXM_doc_asir2000}/html-$$j ; \ |
|
|
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 ${OpenXM_doc_asir2000} ; \ |
${INSTALL} man-$$j.dvi 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 |
|
|
update-makefile: Makefile |
configure-texindex: |
Makefile: Makefile.in |
if [ ! -f .configure_sub_done ]; then \ |
(rm -f .configure_done ; ./make-configure) |
(cd jtexindex/C; ./configure; ${MAKE} clean); \ |
|
touch .configure_sub_done ; \ |
|
fi |
|
|
configure: |
texindex: configure-texindex |
(cd jtexindex/C; ./configure; ${MAKE} clean) |
|
|
|
texindex: |
|
(cd jtexindex/C; ${MAKE}) |
(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 88 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_utf8 tmp-html-ja tmp-html-internal-ja: extract_man |
man-en.dvi man-ja.dvi: texindex |
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 |
|
|
-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 > $@/$$i; done |
|
|
tmp-ja_euc: ${SRCS} |
tmp-ja_utf8: ${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 -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} |
Line 132 tmp-html-internal-ja: ${INTERNAL_SRCS} |
|
Line 130 tmp-html-internal-ja: ${INTERNAL_SRCS} |
|
-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.dvi: tmp-ja |
Line 141 man-ja.dvi: tmp-ja |
|
Line 139 man-ja.dvi: tmp-ja |
|
-touch $@ |
-touch $@ |
|
|
man-en.dvi: tmp-en |
man-en.dvi: 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.dvi $@ |
-touch $@ |
-touch $@ |
|
|
man-ja.pdf: man-ja.dvi |
man: man-ja.pdf man-en.pdf |
man-en.pdf: man-en.dvi |
|
|
|
help-ja: tmp-ja_euc man-ja.dvi |
help-ja: tmp-ja_utf8 man-ja.dvi |
-rm -rf $@ |
-rm -rf $@ |
-mkdir -p $@ |
-mkdir -p $@ |
-(cd tmp-ja_euc; makeinfo man.texi) |
-(cd tmp-ja_utf8; ${MAKEINFO} man.texi) |
-(cd $@; for i in ../tmp-ja_euc/risaman*; do ../extract_func -j $$i; done) |
-(cd $@; for i in ../tmp-ja_utf8/risaman*; do ../extract_func -j $$i; done) |
|
|
help-en: tmp-en man-en.dvi |
help-en: tmp-en man-en.dvi |
-rm -rf $@ |
-rm -rf $@ |
Line 190 html-internal-ja: tmp-html-internal-ja |
|
Line 187 html-internal-ja: tmp-html-internal-ja |
|
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 -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 |
-(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) |
Line 215 targzuu: help-en help-ja html-en html-ja |
|
Line 212 targzuu: help-en help-ja html-en html-ja |
|
|
|
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 .*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 |