Annotation of OpenXM/src/OpenMath/doc/Makefile, Revision 1.1
1.1 ! tam 1:
! 2: SRC = man.texi omproxy.texi
! 3:
! 4: JP:
! 5: -rm -rf tmp
! 6: mkdir tmp
! 7: cp jtexinfo.tex texinfo-js.tex tmp/
! 8: for i in ${SRC}; do \
! 9: echo $$i ;\
! 10: awk '/^\\JP/ {sub(/^\\JP[ \t]*/,"");print;next;} \
! 11: /^\\BJP/ {getline;while($$0 !~ /^\\E/){ \
! 12: print;getline; \
! 13: };next;} \
! 14: /^\\B../ {getline;while($$0 !~ /^\\E/){ \
! 15: getline; \
! 16: };next;} \
! 17: /^\\../ {next;} \
! 18: {print;}' $$i > tmp/$$i;\
! 19: done
! 20: (cd tmp; ptex man.texi; cp man.dvi ../man-jp.dvi)
! 21:
! 22: EG:
! 23: -rm -rf tmp
! 24: mkdir tmp
! 25: cp texinfo.tex tmp/
! 26: for i in ${SRC}; do \
! 27: echo $$i ;\
! 28: awk '/^\\EG/ {sub(/^\\EG[ \t]*/,"");print;next;} \
! 29: /^\\BEG/ {getline;while($$0 !~ /^\\E/){ \
! 30: print;getline; \
! 31: };next;} \
! 32: /^\\B../ {getline;while($$0 !~ /^\\E/){ \
! 33: getline; \
! 34: };next;} \
! 35: /^\\../ {next;} \
! 36: {print;}' $$i > tmp/$$i;\
! 37: done
! 38: (cd tmp; tex man.texi; cp man.dvi ../man-eg.dvi)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>