[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-contrib / packages / doc

Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile, Revision 1.6

1.6     ! takayama    1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile,v 1.5 2000/01/16 08:19:58 takayama 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
                     18:
1.3       noro       19: JPSRCS= oxxm.texi oxmath.texi oxphc.texi oxgnuplot.texi oxsm1.texi oxom.texi
                     20: EGSRCS= oxxm-eg.texi oxmath-eg.texi oxphc-eg.texi oxgnuplot-eg.texi oxsm1-eg.texi oxom-eg.texi
1.6     ! takayama   21:
1.3       noro       22: all : $(JPSRCS) $(EGSRCS)
1.6     ! takayama   23: install : install-document install-help
1.1       takayama   24:
                     25: oxxm.texi : $(ASIRLIB)/xm Makefile
                     26:        /bin/rm -f oxxm.texi
                     27:        oxweave C-texi jp-texi  <$(ASIRLIB)/xm >oxxm.texi
                     28:
                     29: oxxm-eg.texi : $(ASIRLIB)/xm Makefile
                     30:        /bin/rm -f oxxm-eg.texi
                     31:        oxweave C-texi eg-texi  <$(ASIRLIB)/xm >oxxm-eg.texi
                     32:
                     33: oxmath.texi : $(CONTRIB)/m Makefile
                     34:        /bin/rm -f oxmath.texi
                     35:        oxweave C-texi jp-texi  <$(CONTRIB)/m >oxmath.texi
                     36:
                     37: oxmath-eg.texi : $(CONTRIB)/m Makefile
                     38:        /bin/rm -f oxmath-eg.texi
                     39:        oxweave C-texi eg-texi  <$(CONTRIB)/m >oxmath-eg.texi
                     40:
                     41: oxphc.texi : $(CONTRIB)/phc Makefile
                     42:        /bin/rm -f oxphc.texi
                     43:        oxweave C-texi jp-texi  <$(CONTRIB)/phc >oxphc.texi
                     44:
                     45: oxphc-eg.texi : $(CONTRIB)/phc Makefile
                     46:        /bin/rm -f oxphc-eg.texi
                     47:        oxweave C-texi eg-texi  <$(CONTRIB)/phc >oxphc-eg.texi
                     48:
                     49: oxgnuplot.texi : $(CONTRIB)/gnuplot Makefile
                     50:        /bin/rm -f oxgnuplot.texi
                     51:        oxweave C-texi jp-texi  <$(CONTRIB)/gnuplot >oxgnuplot.texi
                     52:
                     53: oxgnuplot-eg.texi : $(CONTRIB)/gnuplot Makefile
                     54:        /bin/rm -f oxgnuplot-eg.texi
                     55:        oxweave C-texi eg-texi  <$(CONTRIB)/gnuplot >oxgnuplot-eg.texi
                     56:
                     57: oxsm1.texi : $(CONTRIB)/sm1 Makefile
                     58:        /bin/rm -f oxsm1.texi
                     59:        oxweave C-texi jp-texi  <$(CONTRIB)/sm1 >oxsm1.texi
                     60:
                     61: oxsm1-eg.texi : $(CONTRIB)/sm1 Makefile
                     62:        /bin/rm -f oxsm1-eg.texi
                     63:        oxweave C-texi eg-texi  <$(CONTRIB)/sm1 >oxsm1-eg.texi
                     64:
                     65: oxom.texi : $(CONTRIB)/om Makefile
                     66:        /bin/rm -f oxom.texi
                     67:        oxweave C-texi jp-texi  <$(CONTRIB)/om >oxom.texi
                     68:
                     69: oxom-eg.texi : $(CONTRIB)/om Makefile
                     70:        /bin/rm -f oxom-eg.texi
                     71:        oxweave C-texi eg-texi  <$(CONTRIB)/om >oxom-eg.texi
                     72:
1.3       noro       73: help-eg: $(EGSRCS) $(ASIRDOC)/extract_func
                     74:        -rm -rf tmp help-eg
                     75:        mkdir help-eg tmp
                     76:        cp cman-eg.texi $(EGSRCS) tmp
                     77:        -(cd tmp; makeinfo --force cman-eg.texi)
1.5       takayama   78:        (cd help-eg; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.3       noro       79:
                     80: help-jp: $(JPSRCS) $(ASIRDOC)/extract_func
                     81:        -rm -rf tmp help-jp
                     82:        mkdir help-jp tmp
                     83:        for i in cman.texi $(JPSRCS); do nkf -e $$i > tmp/$$i; done
                     84:        -(cd tmp; makeinfo --force cman.texi)
1.5       takayama   85:        (cd help-jp; for i in ../tmp/asir-contrib*; do ../$(ASIRDOC)/extract_func $$i; done)
1.3       noro       86:
                     87: help: help-eg help-jp
1.4       takayama   88:
                     89: install-help: help
1.6     ! takayama   90:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.5       takayama   91:        mkdir $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
                     92:        cp -f help-jp/* $(OpenXM_ROOT)/lib/asir/help-jp/xm.help
1.6     ! takayama   93:        /bin/rm -rf $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
1.5       takayama   94:        mkdir $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
                     95:        cp -f help-eg/* $(OpenXM_ROOT)/lib/asir/help-eg/xm.help
                     96:
                     97: install-document : all clean-document
                     98:        -ptex cman.texi
                     99:        -ptex cman.texi
                    100:        -$(DVIPS) cman >$(OpenXM_doc)/asir-contrib/cman-jp.ps
                    101:        -tex cman-eg.texi
                    102:        -tex cman-eg.texi
                    103:        -$(DVIPS) cman-eg >$(OpenXM_doc)/asir-contrib/cman-eg.ps
                    104:
                    105:
                    106: clean-document :
                    107:        /bin/rm -rf $(OpenXM_doc)/asir-contrib
                    108:        mkdir $(OpenXM_doc)/asir-contrib
                    109:        touch $(OpenXM_doc)/asir-contrib/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
                    110:
1.3       noro      111:
1.1       takayama  112: clean :
                    113:        /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      114:        /bin/rm -rf help-jp help-eg tmp

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>