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

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

1.22    ! takayama    1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.21 2000/04/13 00:43:27 takayama Exp $
1.1       takayama    2: #
                      3: WEBKOBE=/home/web/OpenXM
1.22    ! takayama    4: WEBKOBE1=/home/web/OpenXM/1.1.3
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.20      takayama   10: ### For full copy :  make copy-html; make ALL
1.15      takayama   11: # Only for print target.
                     12: PS=a2ps-j
                     13: LPR=lpr -Pdousan
                     14:
1.2       takayama   15: all : install-web-kobe
1.1       takayama   16:
1.5       takayama   17: ALL : all all-spec copy-doc
                     18:
1.22    ! takayama   19: all-spec : $(WEBKOBE1)/openxm-en.ps $(WEBKOBE1)/openxm-ja.ps
        !            20:
        !            21:
        !            22: checkDir :
        !            23:        if test ! -d ${WEBKOBE1} ; \
        !            24:        then \
        !            25:          mkdir ${WEBKOBE1} ;  \
        !            26:        fi
1.5       takayama   27:
                     28: copy-doc :
                     29:        /bin/rm -rf $(WEBKOBE1)/doc
                     30:        mkdir $(WEBKOBE1)/doc
1.13      takayama   31:        -(cd ../../doc ; cp -r Papers asir-contrib asir2000 kan96xx ox_math pari $(WEBKOBE1)/doc)
1.8       takayama   32:
                     33: copy-html :
                     34:        /bin/rm -rf $(WEBKOBE1)/html
                     35:        mkdir $(WEBKOBE1)/html
1.22    ! takayama   36:        mkdir $(WEBKOBE1)/html/OpenXM-en
        !            37:        mkdir $(WEBKOBE1)/html/OpenXM-ja
1.8       takayama   38:        -(cd $(OpenXM_spec) ; make ; cd tmpEG ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM )
                     39:        -(cd $(OpenXM_spec) ; cd tmpJP ; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM )
1.22    ! takayama   40:        -(cd $(OpenXM_spec) ; cd tmpEG ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-en)
        !            41:        -(cd $(OpenXM_spec) ; cd tmpJP ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-ja)
1.20      takayama   42:
                     43: ## Under construction.
                     44: namagize-html: copy-html
1.22    ! takayama   45:        -(cd $(WEBKOBE1)/html/OpenXM-ja ; rm -rf OpenXM-ja.index ; mkdir OpenXM-ja.index )
        !            46:        -(cd $(WEBKOBE1)/html/OpenXM-ja/OpenXM-ja.index ; mknmz ../OpenXM-ja/OpenXM)
1.5       takayama   47:
                     48:
                     49:
1.22    ! takayama   50: install-web-kobe :  checkDir $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h  $(WEBKOBE1)/install-en.txt $(WEBKOBE1)/install-ja.txt  $(WEBKOBE1)/ERRATA.html $(WEBKOBE1)/index-binary.html $(WEBKOBE1)/index-packages.html $(WEBKOBE1)/install-faq.txt $(WEBKOBE1)/OpenXM-FAQ.txt $(WEBKOBE1)/doc/index.html
1.2       takayama   51:
                     52: $(WEBKOBE)/index.html : index.html
1.1       takayama   53:        cp -f index.html $(WEBKOBE)
1.16      takayama   54:        cp -f index.html $(WEBKOBE1)
                     55:
                     56: $(WEBKOBE1)/index-binary.html : index-binary.html
1.17      takayama   57:        cp -f index-binary.html $(WEBKOBE1)
1.16      takayama   58:
                     59: $(WEBKOBE1)/index-packages.html : index-packages.html
1.17      takayama   60:        cp -f index-packages.html $(WEBKOBE1)
1.2       takayama   61:
                     62: $(WEBKOBE)/issac2000.ps : $(OpenXM_doc)/issac2000/issac2000.ps
1.1       takayama   63:        cp -f $(OpenXM_doc)/issac2000/issac2000.ps $(WEBKOBE)
1.3       takayama   64:
                     65: $(WEBKOBE1)/cmotag.h : cmotag.h
                     66:        cp -f cmotag.h $(WEBKOBE1)
                     67:
                     68: $(WEBKOBE1)/oxMessageTag.h : oxMessageTag.h
                     69:        cp -f oxMessageTag.h $(WEBKOBE1)
                     70:
                     71: $(WEBKOBE1)/smCommand.h : smCommand.h
                     72:        cp -f smCommand.h $(WEBKOBE1)
                     73:
1.22    ! takayama   74: $(WEBKOBE1)/openxm-en.ps : $(OpenXM_spec)/tmpEG/OpenXM.tex
        !            75:        -rm -f $(WEBKOBE1)/openxm-en.ps
1.5       takayama   76:        -(cd $(OpenXM_spec) ; make doc ; cd tmpEG ; latex OpenXM ; latex OpenXM)
1.22    ! takayama   77:        -( cd $(OpenXM_spec)/tmpEG ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-en.ps)
1.3       takayama   78:
1.22    ! takayama   79: $(WEBKOBE1)/openxm-ja.ps : $(OpenXM_spec)/tmpJP/OpenXM.tex
        !            80:        -rm -f $(WEBKOBE1)/openxm-ja.ps
1.5       takayama   81:        -(cd $(OpenXM_spec) ; make doc ; cd tmpJP ; platex OpenXM ; platex OpenXM)
1.22    ! takayama   82:        -(cd $(OpenXM_spec)/tmpJP ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-ja.ps)
1.4       takayama   83:
1.22    ! takayama   84: $(WEBKOBE1)/install-en.txt : $(OpenXM_doc)/install-en.txt
        !            85:        -cp $(OpenXM_doc)/install-en.txt $(WEBKOBE1)
1.5       takayama   86:
                     87: $(OpenXM_spec)/tmpEG/OpenXM.tex :
                     88:        -(cd $(OpenXM_spec) ; make )
                     89: $(OpenXM_spec)/tmpJP/OpenXM.tex :
                     90:        -(cd $(OpenXM_spec) ; make )
1.4       takayama   91:
1.22    ! takayama   92: $(WEBKOBE1)/install-ja.txt : $(OpenXM_doc)/install-ja.txt
        !            93:        -cp $(OpenXM_doc)/install-ja.txt $(WEBKOBE1)
        !            94: $(OpenXM_doc)/install-en.txt : $(OpenXM_doc)/install.oxweave
1.4       takayama   95:        ( cd $(OpenXM_doc) ; make )
1.22    ! takayama   96: $(OpenXM_doc)/install-ja.txt : $(OpenXM_doc)/install.oxweave
1.4       takayama   97:        ( cd $(OpenXM_doc) ; make )
1.7       takayama   98: $(WEBKOBE1)/ERRATA.html : ERRATA.html
1.11      takayama   99:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.18      takayama  100: $(WEBKOBE1)/install-faq.txt : install-faq.txt
                    101:        cp -f install-faq.txt $(WEBKOBE1)/install-faq.txt
1.22    ! takayama  102: $(WEBKOBE1)/OpenXM-FAQ.txt : ../OpenXM-FAQ.oxweave
        !           103:        cp -f ../OpenXM-FAQ.oxweave $(WEBKOBE1)/OpenXM-FAQ.txt
1.21      takayama  104: $(WEBKOBE1)/doc/index.html : index-doc.html
                    105:        cp -f index-doc.html $(WEBKOBE1)/doc/index.html
1.11      takayama  106:
                    107: copy-errata :
1.7       takayama  108:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.12      takayama  109: copy-index :
                    110:        cp -f index.html $(WEBKOBE1)/index.html
1.14      takayama  111:
                    112: copy-errata-top :
                    113:        cp -f ERRATA.html $(WEBKOBE)/ERRATA.html
                    114: copy-index-top :
                    115:        cp -f index.html $(WEBKOBE)/index.html
1.3       takayama  116:
                    117: clean-web-kobe :
1.22    ! takayama  118:        -rm $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/openxm-en.ps $(WEBKOBE1)/openxm-ja.ps
1.15      takayama  119:
                    120: print:
                    121:        $(PS) Makefile | $(LPR)
                    122:        $(PS) index.html | $(LPR)

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