Annotation of OpenXM/src/asir-doc/Makefile, Revision 1.1.1.1
1.1 noro 1: # $OpenXM: OpenXM/src/asir/doc/Makefile,v 1.6 19/11/19 08:17:40 noro Exp $
2: all: texindex manual help
3: texindex:
4: (cd jtexindex/C; ./configure; make)
5:
6: manual: man.dvi
7:
8: BUILTINS=\
9: parts/builtin/array.texi parts/builtin/bit.texi\
10: parts/builtin/function.texi parts/builtin/io.texi\
11: parts/builtin/list.texi parts/builtin/misc.texi\
12: parts/builtin/num.texi parts/builtin/poly.texi\
13: parts/builtin/string.texi\
14: parts/builtin/type.texi parts/builtin/upoly.texi
15:
16: PARTS=\
17: parts/algnum.texi parts/appendix.texi parts/asir.texi\
18: parts/builtin.texi parts/debug.texi\
19: parts/process.texi\
20: parts/ff.texi parts/groebner.texi\
21: parts/intro.texi parts/risa.texi parts/type.texi
22:
23: SRCS=man.texi $(PARTS) $(BUILTINS)
24:
25: man.dvi: $(SRCS)
26: ptex man.texi
27: jtexindex/C/texindex man.??
28: ptex man.texi
29:
30: help: $(SRCS) extract_func
31: -rm -rf euc help-jp
32: mkdir help-jp euc euc/parts euc/parts/builtin
33: for i in ${SRCS}; do nkf -e $$i > euc/$$i; done
34: (cd euc; makeinfo man.texi)
35: (cd help-jp; for i in ../euc/risaman*; do ../extract_func $$i; done)
36:
37: html: $(SRCS)
38: -rm -rf euc html
39: mkdir html euc euc/parts euc/parts/builtin
40: for i in ${SRCS}; do nkf -e $$i | sed -e "s/@fref/@ref/g" > euc/$$i; done
41: (cd html; texi2html -menu -split_node ../euc/man.texi)
42:
43: extract_func: extract_func.c
44: gcc -o extract_func extract_func.c
45:
46: clean:
47: (cd jtexindex/C; make clean)
48: rm -f man.?? man.???
49: rm -rf euc html help-jp extract_func
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>