version 1.11, 2001/06/28 08:18:02 |
version 1.16, 2003/12/18 10:26:20 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.10 2001/05/20 09:19:16 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.15 2003/09/03 02:17:39 takayama Exp $ |
|
|
WHICH=../../misc/which.pl |
WHICH=../../misc/which.pl |
|
|
all: all-eg all-jp |
all: |
install: install-eg install-jp |
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-eg all-jp |
|
install2: install-eg install-jp |
|
|
all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg |
all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg |
all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp html-internal-ja |
all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp html-internal-ja |
|
|
|
|
parts/builtin/num.texi parts/builtin/poly.texi\ |
parts/builtin/num.texi parts/builtin/poly.texi\ |
parts/builtin/string.texi\ |
parts/builtin/string.texi\ |
parts/builtin/type.texi parts/builtin/upoly.texi\ |
parts/builtin/type.texi parts/builtin/upoly.texi\ |
parts/builtin/structure.texi |
parts/builtin/structure.texi parts/builtin/module.texi |
|
|
PARTS=\ |
PARTS=\ |
parts/algnum.texi parts/appendix.texi parts/asir.texi\ |
parts/algnum.texi parts/appendix.texi parts/asir.texi\ |
Line 77 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
Line 82 INTERNAL_SRCS=internal.texi int-parts/datatype.texi in |
|
tmpJP: $(SRCS) |
tmpJP: $(SRCS) |
-rm -rf tmpJP |
-rm -rf tmpJP |
-mkdir tmpJP tmpJP/parts tmpJP/parts/builtin |
-mkdir tmpJP tmpJP/parts tmpJP/parts/builtin |
-cp jtexinfo.tex texinfo-js.tex tmpJP |
-cp texinfo.* txi*tex tmpJP |
-for i in ${SRCS}; do ./extract_man JP $$i > tmpJP/$$i; done |
-for i in ${SRCS}; do ./extract_man JP $$i > tmpJP/$$i; done |
|
|
tmpJPeuc: $(SRCS) |
tmpJPeuc: $(SRCS) |
-rm -rf tmpJPeuc |
-rm -rf tmpJPeuc |
-mkdir tmpJPeuc tmpJPeuc/parts tmpJPeuc/parts/builtin |
-mkdir tmpJPeuc tmpJPeuc/parts tmpJPeuc/parts/builtin |
-cp jtexinfo.tex texinfo-js.tex tmpJPeuc |
-cp texinfo.* txi*tex tmpJPeuc |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man JP $$i | nkf -e > tmpJPeuc/$$i; \ |
./extract_man JP $$i | nkf -e > tmpJPeuc/$$i; \ |
done |
done |
Line 91 tmpJPeuc: $(SRCS) |
|
Line 96 tmpJPeuc: $(SRCS) |
|
tmpJPhtml: $(SRCS) |
tmpJPhtml: $(SRCS) |
-rm -rf tmpJPhtml |
-rm -rf tmpJPhtml |
-mkdir tmpJPhtml tmpJPhtml/parts tmpJPhtml/parts/builtin |
-mkdir tmpJPhtml tmpJPhtml/parts tmpJPhtml/parts/builtin |
-cp jtexinfo.tex texinfo-js.tex tmpJPhtml |
-cp texinfo.* txi*tex tmpJPhtml |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmpJPhtml/$$i; \ |
./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmpJPhtml/$$i; \ |
done |
done |
Line 99 tmpJPhtml: $(SRCS) |
|
Line 104 tmpJPhtml: $(SRCS) |
|
tmpEG: $(SRCS) |
tmpEG: $(SRCS) |
-rm -rf tmpEG |
-rm -rf tmpEG |
-mkdir tmpEG tmpEG/parts tmpEG/parts/builtin |
-mkdir tmpEG tmpEG/parts tmpEG/parts/builtin |
-cp texinfo.tex tmpEG |
-cp texinfo.* txi*tex tmpEG |
-for i in ${SRCS}; do ./extract_man EG $$i > tmpEG/$$i; done |
-for i in ${SRCS}; do ./extract_man EG $$i > tmpEG/$$i; done |
|
|
tmpEGhtml: $(SRCS) |
tmpEGhtml: $(SRCS) |
-rm -rf tmpEGhtml |
-rm -rf tmpEGhtml |
-mkdir tmpEGhtml tmpEGhtml/parts tmpEGhtml/parts/builtin |
-mkdir tmpEGhtml tmpEGhtml/parts tmpEGhtml/parts/builtin |
-cp texinfo.tex tmpEG |
-cp texinfo.* txi*tex tmpEG |
-for i in ${SRCS}; do \ |
-for i in ${SRCS}; do \ |
./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\ |
./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\ |
done |
done |
Line 113 tmpEGhtml: $(SRCS) |
|
Line 118 tmpEGhtml: $(SRCS) |
|
tmp-internal-JAhtml: $(INTERNAL_SRCS) |
tmp-internal-JAhtml: $(INTERNAL_SRCS) |
-rm -rf tmp-internal-JAhtml |
-rm -rf tmp-internal-JAhtml |
-mkdir tmp-internal-JAhtml tmp-internal-JAhtml/int-parts tmp-internal-JAhtml/int-parts/datatype |
-mkdir tmp-internal-JAhtml tmp-internal-JAhtml/int-parts tmp-internal-JAhtml/int-parts/datatype |
-cp jtexinfo.tex texinfo-js.tex tmp-internal-JAhtml |
-cp texinfo.* txi*tex tmp-internal-JAhtml |
-for i in ${INTERNAL_SRCS}; do \ |
-for i in ${INTERNAL_SRCS}; do \ |
./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-internal-JAhtml/$$i; \ |
./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-internal-JAhtml/$$i; \ |
done |
done |
Line 169 html-internal-ja: tmp-internal-JAhtml |
|
Line 174 html-internal-ja: tmp-internal-JAhtml |
|
-mkdir html-internal-ja |
-mkdir html-internal-ja |
-(cd html-internal-ja; texi2html ../tmp-internal-JAhtml/internal.texi) |
-(cd html-internal-ja; texi2html ../tmp-internal-JAhtml/internal.texi) |
|
|
|
internal-jp.dvi: tmp-internal-JAhtml |
|
-rm internal-jp.dvi |
|
-(cd tmp-internal-JAhtml; ptex internal.texi; ../jtexindex/C/texindex internal.??; ptex internal.texi) |
|
-mv tmp-internal-JAhtml/internal.dvi internal-jp.dvi |
|
-touch internal-jp.dvi |
extract_func: extract_func.c |
extract_func: extract_func.c |
gcc -o extract_func extract_func.c |
gcc -o extract_func extract_func.c |
|
|
Line 186 targzuu: help-eg help-jp html-eg html-jp |
|
Line 196 targzuu: help-eg help-jp html-eg html-jp |
|
|
|
clean: |
clean: |
(cd jtexindex/C; make clean) |
(cd jtexindex/C; make clean) |
-rm -f man*.dvi man-jp.dvi extract_man extract_func gen_hh |
-rm -f man*.dvi man-jp.dvi extract_man extract_func gen_hh .*done |
|
-rm -f internal-jp.dvi |
-rm -rf tmp* |
-rm -rf tmp* |
-rm -rf help-* |
-rm -rf help-* |
-rm -rf html-* |
-rm -rf html-* |