version 1.10, 2001/05/20 09:19:16 |
version 1.13, 2003/04/19 10:36:27 |
|
|
# $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.9 2001/04/23 05:45:34 noro Exp $ |
# $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.12 2002/08/13 07:44:03 noro Exp $ |
|
|
WHICH=../../misc/which.pl |
WHICH=../../misc/which.pl |
|
|
Line 6 all: all-eg all-jp |
|
Line 6 all: all-eg all-jp |
|
install: install-eg install-jp |
install: 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 |
all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp html-internal-ja |
|
|
install-eg: all-eg |
install-eg: all-eg |
-rm -r -f ../../lib/asir/help-eg |
-rm -r -f ../../lib/asir/help-eg |
Line 23 install-jp: all-jp |
|
Line 23 install-jp: all-jp |
|
-rm -r -f ../../doc/asir2000/html-jp |
-rm -r -f ../../doc/asir2000/html-jp |
-tar cf - html-jp | ( cd ../../doc/asir2000; tar xf - ) |
-tar cf - html-jp | ( cd ../../doc/asir2000; tar xf - ) |
-cp man-jp.dvi ../../doc/asir2000 |
-cp man-jp.dvi ../../doc/asir2000 |
|
-tar cf - html-internal-ja | ( cd ../../doc/asir2000; tar xf - ) |
|
|
install-man-pages: |
install-man-pages: |
-cp asir.1 ../../man/man1 |
-cp asir.1 ../../man/man1 |
|
|
|
|
SRCS=man.texi $(PARTS) $(BUILTINS) |
SRCS=man.texi $(PARTS) $(BUILTINS) |
|
|
|
INTERNAL_SRCS=internal.texi int-parts/datatype.texi int-parts/gc.texi\ |
|
int-parts/inter.texi int-parts/intro.texi int-parts/macro.texi\ |
|
int-parts/operation.texi int-parts/parser.texi int-parts/port.texi\ |
|
int-parts/datatype/algnum.texi\ |
|
int-parts/datatype/char2ff.texi\ |
|
int-parts/datatype/dpoly.texi\ |
|
int-parts/datatype/float.texi\ |
|
int-parts/datatype/largeff.texi\ |
|
int-parts/datatype/list.texi\ |
|
int-parts/datatype/mat.texi\ |
|
int-parts/datatype/number.texi\ |
|
int-parts/datatype/poly.texi\ |
|
int-parts/datatype/ratexp.texi\ |
|
int-parts/datatype/ratnum.texi\ |
|
int-parts/datatype/risaobj.texi\ |
|
int-parts/datatype/smallff.texi\ |
|
int-parts/datatype/string.texi\ |
|
int-parts/datatype/vect.texi |
|
|
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 71 tmpJPeuc: $(SRCS) |
|
Line 91 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 79 tmpJPhtml: $(SRCS) |
|
Line 99 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 |
|
|
|
tmp-internal-JAhtml: $(INTERNAL_SRCS) |
|
-rm -rf tmp-internal-JAhtml |
|
-mkdir tmp-internal-JAhtml tmp-internal-JAhtml/int-parts tmp-internal-JAhtml/int-parts/datatype |
|
-cp texinfo.* txi*tex tmp-internal-JAhtml |
|
-for i in ${INTERNAL_SRCS}; do \ |
|
./extract_man JP $$i | nkf -e | sed -e "s/@fref/@ref/g" > tmp-internal-JAhtml/$$i; \ |
|
done |
|
|
man-jp.dvi: tmpJP |
man-jp.dvi: tmpJP |
-rm man-jp.dvi |
-rm man-jp.dvi |
-(cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi) |
-(cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi) |
Line 135 html-win-eg: html-eg gen_hh |
|
Line 163 html-win-eg: html-eg gen_hh |
|
-mkdir html-win-eg |
-mkdir html-win-eg |
(cd html-eg; for i in *; do nkf -s $$i > ../html-win-eg/$$i; done) |
(cd html-eg; for i in *; do nkf -s $$i > ../html-win-eg/$$i; done) |
gen_hh html-win-eg html-win-eg |
gen_hh html-win-eg html-win-eg |
|
|
|
html-internal-ja: tmp-internal-JAhtml |
|
-rm -rf html-internal-ja |
|
-mkdir html-internal-ja |
|
-(cd html-internal-ja; texi2html ../tmp-internal-JAhtml/internal.texi) |
|
|
extract_func: extract_func.c |
extract_func: extract_func.c |
gcc -o extract_func extract_func.c |
gcc -o extract_func extract_func.c |