Annotation of OpenXM/src/OpenMath/doc/Makefile, Revision 1.2
1.2 ! takayama 1: # $OpenXM$
! 2: SRC = man.texi omproxy.texi
! 3:
! 4: all : OpenXM_javadoc OpenXM_javadoc_ja
! 5: OpenXM_javadoc:
! 6: -rm -rf tmp-doc-openxm-tam
! 7: -(mkdir tmp-doc-openxm-tam )
! 8: -(cd ../ORG/openxm/tam ; javadoc -d ../../../doc/tmp-doc-openxm-tam *.java)
! 9:
1.1 tam 10:
1.2 ! takayama 11: OpenXM_javadoc_ja:
! 12: -rm -rf tmp-doc-openxm-tam-ja
! 13: -(mkdir tmp-doc-openxm-tam-ja)
! 14: -(cd tmp-doc-openxm-tam-ja; cp -r ../../ORG . ; rm -rf ORG/CVS)
! 15: -(cd tmp-doc-openxm-tam-ja/ORG/openxm/tam ; ln ../../../../to-ja . ; ls *.java | xargs ./to-ja)
! 16: -(cd tmp-doc-openxm-tam-ja/ORG/openxm/tam ; javadoc -d ../../.. OpenXM.java)
1.1 tam 17:
18: JP:
19: -rm -rf tmp
20: mkdir tmp
21: cp jtexinfo.tex texinfo-js.tex tmp/
22: for i in ${SRC}; do \
23: echo $$i ;\
24: awk '/^\\JP/ {sub(/^\\JP[ \t]*/,"");print;next;} \
25: /^\\BJP/ {getline;while($$0 !~ /^\\E/){ \
26: print;getline; \
27: };next;} \
28: /^\\B../ {getline;while($$0 !~ /^\\E/){ \
29: getline; \
30: };next;} \
31: /^\\../ {next;} \
32: {print;}' $$i > tmp/$$i;\
33: done
34: (cd tmp; ptex man.texi; cp man.dvi ../man-jp.dvi)
35:
36: EG:
37: -rm -rf tmp
38: mkdir tmp
39: cp texinfo.tex tmp/
40: for i in ${SRC}; do \
41: echo $$i ;\
42: awk '/^\\EG/ {sub(/^\\EG[ \t]*/,"");print;next;} \
43: /^\\BEG/ {getline;while($$0 !~ /^\\E/){ \
44: print;getline; \
45: };next;} \
46: /^\\B../ {getline;while($$0 !~ /^\\E/){ \
47: getline; \
48: };next;} \
49: /^\\../ {next;} \
50: {print;}' $$i > tmp/$$i;\
51: done
52: (cd tmp; tex man.texi; cp man.dvi ../man-eg.dvi)
1.2 ! takayama 53:
! 54:
! 55: clean:
! 56: -(rm -rf tmp-doc-openxm-tam tmp-doc-openxm-tam-ja)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>