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