[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / doc / OpenXM-web

Annotation of OpenXM/doc/OpenXM-web/Makefile, Revision 1.15

1.15    ! takayama    1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.14 2000/03/01 09:58:14 takayama Exp $
1.1       takayama    2: #
                      3: WEBKOBE=/home/web/OpenXM
1.3       takayama    4: WEBKOBE1=/home/web/OpenXM/20000124
1.1       takayama    5: OpenXM_doc=../.
1.5       takayama    6: OpenXM_spec=../OpenXM-specs
1.3       takayama    7: DVIPS=dvips -f
1.9       takayama    8: LATEX2HTML=jlatex2html -tmp /tmp
1.1       takayama    9:
1.15    ! takayama   10: # Only for print target.
        !            11: PS=a2ps-j
        !            12: LPR=lpr -Pdousan
        !            13:
1.2       takayama   14: all : install-web-kobe
1.1       takayama   15:
1.5       takayama   16: ALL : all all-spec copy-doc
                     17:
                     18: all-spec : $(WEBKOBE1)/openxm-eg.ps $(WEBKOBE1)/openxm-jp.ps
                     19:
                     20: copy-doc :
                     21:        /bin/rm -rf $(WEBKOBE1)/doc
                     22:        mkdir $(WEBKOBE1)/doc
1.13      takayama   23:        -(cd ../../doc ; cp -r Papers asir-contrib asir2000 kan96xx ox_math pari $(WEBKOBE1)/doc)
1.8       takayama   24:
                     25: copy-html :
                     26:        /bin/rm -rf $(WEBKOBE1)/html
                     27:        mkdir $(WEBKOBE1)/html
                     28:        mkdir $(WEBKOBE1)/html/OpenXM-eg
                     29:        mkdir $(WEBKOBE1)/html/OpenXM-jp
                     30:        -(cd $(OpenXM_spec) ; make ; cd tmpEG ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM )
                     31:        -(cd $(OpenXM_spec) ; cd tmpJP ; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM )
                     32:        -(cd $(OpenXM_spec) ; cd tmpEG ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-eg)
                     33:        -(cd $(OpenXM_spec) ; cd tmpJP ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-jp)
1.5       takayama   34:
                     35:
                     36:
1.7       takayama   37: install-web-kobe :  $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h  $(WEBKOBE1)/install-eg.txt $(WEBKOBE1)/install-jp.txt  $(WEBKOBE1)/ERRATA.html
1.2       takayama   38:
                     39: $(WEBKOBE)/index.html : index.html
1.1       takayama   40:        cp -f index.html $(WEBKOBE)
1.2       takayama   41:
                     42: $(WEBKOBE)/issac2000.ps : $(OpenXM_doc)/issac2000/issac2000.ps
1.1       takayama   43:        cp -f $(OpenXM_doc)/issac2000/issac2000.ps $(WEBKOBE)
1.3       takayama   44:
                     45: $(WEBKOBE1)/cmotag.h : cmotag.h
                     46:        cp -f cmotag.h $(WEBKOBE1)
                     47:
                     48: $(WEBKOBE1)/oxMessageTag.h : oxMessageTag.h
                     49:        cp -f oxMessageTag.h $(WEBKOBE1)
                     50:
                     51: $(WEBKOBE1)/smCommand.h : smCommand.h
                     52:        cp -f smCommand.h $(WEBKOBE1)
                     53:
1.5       takayama   54: $(WEBKOBE1)/openxm-eg.ps : $(OpenXM_spec)/tmpEG/OpenXM.tex
1.3       takayama   55:        -rm -f $(WEBKOBE1)/openxm-eg.ps
1.5       takayama   56:        -(cd $(OpenXM_spec) ; make doc ; cd tmpEG ; latex OpenXM ; latex OpenXM)
1.10      takayama   57:        -( cd $(OpenXM_spec)/tmpEG ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-eg.ps)
1.3       takayama   58:
1.5       takayama   59: $(WEBKOBE1)/openxm-jp.ps : $(OpenXM_spec)/tmpJP/OpenXM.tex
1.3       takayama   60:        -rm -f $(WEBKOBE1)/openxm-jp.ps
1.5       takayama   61:        -(cd $(OpenXM_spec) ; make doc ; cd tmpJP ; platex OpenXM ; platex OpenXM)
1.10      takayama   62:        -(cd $(OpenXM_spec)/tmpJP ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-jp.ps)
1.4       takayama   63:
                     64: $(WEBKOBE1)/install-eg.txt : $(OpenXM_doc)/install-eg.txt
                     65:        -cp $(OpenXM_doc)/install-eg.txt $(WEBKOBE1)
1.5       takayama   66:
                     67: $(OpenXM_spec)/tmpEG/OpenXM.tex :
                     68:        -(cd $(OpenXM_spec) ; make )
                     69: $(OpenXM_spec)/tmpJP/OpenXM.tex :
                     70:        -(cd $(OpenXM_spec) ; make )
1.4       takayama   71:
                     72: $(WEBKOBE1)/install-jp.txt : $(OpenXM_doc)/install-jp.txt
                     73:        -cp $(OpenXM_doc)/install-jp.txt $(WEBKOBE1)
                     74: $(OpenXM_doc)/install-eg.txt : $(OpenXM_doc)/install.oxweave
                     75:        ( cd $(OpenXM_doc) ; make )
                     76: $(OpenXM_doc)/install-jp.txt : $(OpenXM_doc)/install.oxweave
                     77:        ( cd $(OpenXM_doc) ; make )
1.7       takayama   78: $(WEBKOBE1)/ERRATA.html : ERRATA.html
1.11      takayama   79:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
                     80:
                     81: copy-errata :
1.7       takayama   82:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.12      takayama   83: copy-index :
                     84:        cp -f index.html $(WEBKOBE1)/index.html
1.14      takayama   85:
                     86: copy-errata-top :
                     87:        cp -f ERRATA.html $(WEBKOBE)/ERRATA.html
                     88: copy-index-top :
                     89:        cp -f index.html $(WEBKOBE)/index.html
1.3       takayama   90:
                     91: clean-web-kobe :
                     92:        -rm $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/openxm-eg.ps $(WEBKOBE1)/openxm-jp.ps
1.15    ! takayama   93:
        !            94: print:
        !            95:        $(PS) Makefile | $(LPR)
        !            96:        $(PS) index.html | $(LPR)

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