Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile, Revision 1.5
1.5 ! takayama 1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.4 1999/12/11 13:51:18 takayama Exp $
! 2: # targets
! 3: # all :
! 4: # Extracts all tex-info files from ../src/*
! 5: # install-help :
! 6: # Installing online help to OpenXM/lib/asir/help-*
! 7: # install-document :
! 8: # Copy the documents to OpenXM/doc/asir-contrib
! 9: OpenXM_ROOT=../../../../../OpenXM
! 10: ASIRDOC=$(OpenXM_ROOT)/src/asir-doc
! 11: ASIRLIB=$(OpenXM_ROOT)/../OpenXM_contrib2/asir2000/lib
! 12: CONTRIB=$(OpenXM_ROOT)/src/asir-contrib/packages/src
! 13: OpenXM_doc=$(OpenXM_ROOT)/doc
! 14: DVIPS=dvips -f
! 15:
1.3 noro 16: JPSRCS= oxxm.texi oxmath.texi oxphc.texi oxgnuplot.texi oxsm1.texi oxom.texi
17: EGSRCS= oxxm-eg.texi oxmath-eg.texi oxphc-eg.texi oxgnuplot-eg.texi oxsm1-eg.texi oxom-eg.texi
18: all : $(JPSRCS) $(EGSRCS)
1.1 takayama 19:
20: oxxm.texi : $(ASIRLIB)/xm Makefile
21: /bin/rm -f oxxm.texi
22: oxweave C-texi jp-texi <$(ASIRLIB)/xm >oxxm.texi
23:
24: oxxm-eg.texi : $(ASIRLIB)/xm Makefile
25: /bin/rm -f oxxm-eg.texi
26: oxweave C-texi eg-texi <$(ASIRLIB)/xm >oxxm-eg.texi
27:
28: oxmath.texi : $(CONTRIB)/m Makefile
29: /bin/rm -f oxmath.texi
30: oxweave C-texi jp-texi <$(CONTRIB)/m >oxmath.texi
31:
32: oxmath-eg.texi : $(CONTRIB)/m Makefile
33: /bin/rm -f oxmath-eg.texi
34: oxweave C-texi eg-texi <$(CONTRIB)/m >oxmath-eg.texi
35:
36: oxphc.texi : $(CONTRIB)/phc Makefile
37: /bin/rm -f oxphc.texi
38: oxweave C-texi jp-texi <$(CONTRIB)/phc >oxphc.texi
39:
40: oxphc-eg.texi : $(CONTRIB)/phc Makefile
41: /bin/rm -f oxphc-eg.texi
42: oxweave C-texi eg-texi <$(CONTRIB)/phc >oxphc-eg.texi
43:
44: oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile
45: /bin/rm -f oxgnuplot.texi
46: oxweave C-texi jp-texi <$(CONTRIB)/gnuplot >oxgnuplot.texi
47:
48: oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile
49: /bin/rm -f oxgnuplot-eg.texi
50: oxweave C-texi eg-texi <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi
51:
52: oxsm1.texi : $(CONTRIB)/sm1 Makefile
53: /bin/rm -f oxsm1.texi
54: oxweave C-texi jp-texi <$(CONTRIB)/sm1 >oxsm1.texi
55:
56: oxsm1-eg.texi : $(CONTRIB)/sm1 Makefile
57: /bin/rm -f oxsm1-eg.texi
58: oxweave C-texi eg-texi <$(CONTRIB)/sm1 >oxsm1-eg.texi
59:
60: oxom.texi : $(CONTRIB)/om Makefile
61: /bin/rm -f oxom.texi
62: oxweave C-texi jp-texi <$(CONTRIB)/om >oxom.texi
63:
64: oxom-eg.texi : $(CONTRIB)/om Makefile
65: /bin/rm -f oxom-eg.texi
66: oxweave C-texi eg-texi <$(CONTRIB)/om >oxom-eg.texi
67:
1.3 noro 68: help-eg: $(EGSRCS) $(ASIRDOC)/extract_func
69: -rm -rf tmp help-eg
70: mkdir help-eg tmp
71: cp cman-eg.texi $(EGSRCS) tmp
72: -(cd tmp; makeinfo --force cman-eg.texi)
1.5 ! takayama 73: (cd help-eg; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.3 noro 74:
75: help-jp: $(JPSRCS) $(ASIRDOC)/extract_func
76: -rm -rf tmp help-jp
77: mkdir help-jp tmp
78: for i in cman.texi $(JPSRCS); do nkf -e $$i > tmp/$$i; done
79: -(cd tmp; makeinfo --force cman.texi)
1.5 ! takayama 80: (cd help-jp; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.3 noro 81:
82: help: help-eg help-jp
1.4 takayama 83:
84: install-help: help
1.5 ! takayama 85: /bin/rm -f $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
! 86: mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
! 87: cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
! 88: /bin/rm -f $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
! 89: mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
! 90: cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
! 91:
! 92: install-document : all clean-document
! 93: -ptex cman.texi
! 94: -ptex cman.texi
! 95: -$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps
! 96: -tex cman-eg.texi
! 97: -tex cman-eg.texi
! 98: -$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps
! 99:
! 100:
! 101: clean-document :
! 102: /bin/rm -rf $(OpenXM_doc)/asir-contrib
! 103: mkdir $(OpenXM_doc)/asir-contrib
! 104: touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
! 105:
1.3 noro 106:
1.1 takayama 107: clean :
108: /bin/rm -f oxxm.texi oxxm-eg.texi oxmath.texi *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr oxmath-eg.texi oxphc.texi oxphc-eg.texi oxgnuplot.texi oxgnuplot-eg.texi oxsm1.texi oxsm1-eg.texi oxom-eg.texi oxom.texi
1.3 noro 109: /bin/rm -rf help-jp help-eg tmp
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>