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

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

1.25    ! takayama    1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.24 2000/09/09 18:24:02 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.25    ! takayama    7: OpenXM_calc=../calc2000p
1.3       takayama    8: DVIPS=dvips -f
1.9       takayama    9: LATEX2HTML=jlatex2html -tmp /tmp
1.1       takayama   10:
1.20      takayama   11: ### For full copy :  make copy-html; make ALL
1.15      takayama   12: # Only for print target.
                     13: PS=a2ps-j
                     14: LPR=lpr -Pdousan
                     15:
1.2       takayama   16: all : install-web-kobe
1.1       takayama   17:
1.5       takayama   18: ALL : all all-spec copy-doc
                     19:
1.22      takayama   20: all-spec : $(WEBKOBE1)/openxm-en.ps $(WEBKOBE1)/openxm-ja.ps
                     21:
                     22:
1.5       takayama   23: copy-doc :
                     24:        /bin/rm -rf $(WEBKOBE1)/doc
                     25:        mkdir $(WEBKOBE1)/doc
1.13      takayama   26:        -(cd ../../doc ; cp -r Papers asir-contrib asir2000 kan96xx ox_math pari $(WEBKOBE1)/doc)
1.8       takayama   27:
1.25    ! takayama   28: copy-html: copy-html-spec copy-html-poster
        !            29:
        !            30: copy-html-spec:
        !            31:        /bin/rm -rf $(WEBKOBE1)/html/OpenXM-en
        !            32:        /bin/rm -rf $(WEBKOBE1)/html/OpenXM-ja
        !            33:        -mkdir $(WEBKOBE1)/html
1.22      takayama   34:        mkdir $(WEBKOBE1)/html/OpenXM-en
                     35:        mkdir $(WEBKOBE1)/html/OpenXM-ja
1.24      takayama   36:        -(cd $(OpenXM_spec) ; make ; cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM )
                     37:        -(cd $(OpenXM_spec) ; cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM )
                     38:        -(cd $(OpenXM_spec) ; cd tmpEN ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-en)
                     39:        -(cd $(OpenXM_spec) ; cd tmpJA ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-ja)
1.25    ! takayama   40: copy-html-poster:
        !            41:        -mkdir $(WEBKOBE1)/html
        !            42:        /bin/rm -rf $(WEBKOBE1)/html/OpenXM-poster
        !            43:        mkdir $(WEBKOBE1)/html/OpenXM-poster
        !            44:        /bin/rm -rf tmp-poster
        !            45:        mkdir tmp-poster
        !            46:        -ln -s ../calc2000 .
        !            47:        cp $(OpenXM_calc)/rgb.sty tmp-poster
        !            48:        cp $(OpenXM_calc)/3k.ps tmp-poster
        !            49:        cp $(OpenXM_calc)/func1.tex tmp-poster
        !            50:        cp $(OpenXM_calc)/func2.tex tmp-poster
        !            51:        cp $(OpenXM_calc)/efficient.tex tmp-poster
        !            52:        -(cd tmp-poster ; latex func1 ; $(LATEX2HTML) func1 )
        !            53:        -(cd tmp-poster ; latex func2 ; $(LATEX2HTML) func2 )
        !            54:        -(cd tmp-poster ; latex efficient ; $(LATEX2HTML) efficient )
        !            55:        -(cd tmp-poster ; cp -rf func1 func2 efficient $(WEBKOBE1)/html/OpenXM-poster)
1.20      takayama   56:
                     57: ## Under construction.
                     58: namagize-html: copy-html
1.22      takayama   59:        -(cd $(WEBKOBE1)/html/OpenXM-ja ; rm -rf OpenXM-ja.index ; mkdir OpenXM-ja.index )
                     60:        -(cd $(WEBKOBE1)/html/OpenXM-ja/OpenXM-ja.index ; mknmz ../OpenXM-ja/OpenXM)
1.5       takayama   61:
1.23      takayama   62: usage:
                     63:        @echo "Targets are "
                     64:        @echo "    install-web-kobe all-spec copy-doc copy-html"
                     65:
                     66: checkDir :
                     67:        if test ! -d ${WEBKOBE1} ; \
                     68:        then \
                     69:          mkdir ${WEBKOBE1} ;  \
                     70:        fi
                     71:        if test ! -d ${WEBKOBE1}/doc ; \
                     72:        then \
                     73:          mkdir ${WEBKOBE1}/doc ;  \
                     74:        fi \
1.5       takayama   75:
                     76:
1.22      takayama   77: 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   78:
                     79: $(WEBKOBE)/index.html : index.html
1.1       takayama   80:        cp -f index.html $(WEBKOBE)
1.16      takayama   81:        cp -f index.html $(WEBKOBE1)
                     82:
                     83: $(WEBKOBE1)/index-binary.html : index-binary.html
1.17      takayama   84:        cp -f index-binary.html $(WEBKOBE1)
1.16      takayama   85:
                     86: $(WEBKOBE1)/index-packages.html : index-packages.html
1.17      takayama   87:        cp -f index-packages.html $(WEBKOBE1)
1.2       takayama   88:
                     89: $(WEBKOBE)/issac2000.ps : $(OpenXM_doc)/issac2000/issac2000.ps
1.1       takayama   90:        cp -f $(OpenXM_doc)/issac2000/issac2000.ps $(WEBKOBE)
1.3       takayama   91:
                     92: $(WEBKOBE1)/cmotag.h : cmotag.h
                     93:        cp -f cmotag.h $(WEBKOBE1)
                     94:
                     95: $(WEBKOBE1)/oxMessageTag.h : oxMessageTag.h
                     96:        cp -f oxMessageTag.h $(WEBKOBE1)
                     97:
                     98: $(WEBKOBE1)/smCommand.h : smCommand.h
                     99:        cp -f smCommand.h $(WEBKOBE1)
                    100:
1.22      takayama  101: $(WEBKOBE1)/openxm-en.ps : $(OpenXM_spec)/tmpEG/OpenXM.tex
                    102:        -rm -f $(WEBKOBE1)/openxm-en.ps
1.5       takayama  103:        -(cd $(OpenXM_spec) ; make doc ; cd tmpEG ; latex OpenXM ; latex OpenXM)
1.22      takayama  104:        -( cd $(OpenXM_spec)/tmpEG ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-en.ps)
1.3       takayama  105:
1.22      takayama  106: $(WEBKOBE1)/openxm-ja.ps : $(OpenXM_spec)/tmpJP/OpenXM.tex
                    107:        -rm -f $(WEBKOBE1)/openxm-ja.ps
1.5       takayama  108:        -(cd $(OpenXM_spec) ; make doc ; cd tmpJP ; platex OpenXM ; platex OpenXM)
1.22      takayama  109:        -(cd $(OpenXM_spec)/tmpJP ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-ja.ps)
1.4       takayama  110:
1.22      takayama  111: $(WEBKOBE1)/install-en.txt : $(OpenXM_doc)/install-en.txt
                    112:        -cp $(OpenXM_doc)/install-en.txt $(WEBKOBE1)
1.5       takayama  113:
                    114: $(OpenXM_spec)/tmpEG/OpenXM.tex :
                    115:        -(cd $(OpenXM_spec) ; make )
                    116: $(OpenXM_spec)/tmpJP/OpenXM.tex :
                    117:        -(cd $(OpenXM_spec) ; make )
1.4       takayama  118:
1.22      takayama  119: $(WEBKOBE1)/install-ja.txt : $(OpenXM_doc)/install-ja.txt
                    120:        -cp $(OpenXM_doc)/install-ja.txt $(WEBKOBE1)
                    121: $(OpenXM_doc)/install-en.txt : $(OpenXM_doc)/install.oxweave
1.4       takayama  122:        ( cd $(OpenXM_doc) ; make )
1.22      takayama  123: $(OpenXM_doc)/install-ja.txt : $(OpenXM_doc)/install.oxweave
1.4       takayama  124:        ( cd $(OpenXM_doc) ; make )
1.7       takayama  125: $(WEBKOBE1)/ERRATA.html : ERRATA.html
1.11      takayama  126:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.18      takayama  127: $(WEBKOBE1)/install-faq.txt : install-faq.txt
                    128:        cp -f install-faq.txt $(WEBKOBE1)/install-faq.txt
1.22      takayama  129: $(WEBKOBE1)/OpenXM-FAQ.txt : ../OpenXM-FAQ.oxweave
                    130:        cp -f ../OpenXM-FAQ.oxweave $(WEBKOBE1)/OpenXM-FAQ.txt
1.21      takayama  131: $(WEBKOBE1)/doc/index.html : index-doc.html
                    132:        cp -f index-doc.html $(WEBKOBE1)/doc/index.html
1.11      takayama  133:
                    134: copy-errata :
1.7       takayama  135:        cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.12      takayama  136: copy-index :
                    137:        cp -f index.html $(WEBKOBE1)/index.html
1.14      takayama  138:
                    139: copy-errata-top :
                    140:        cp -f ERRATA.html $(WEBKOBE)/ERRATA.html
                    141: copy-index-top :
                    142:        cp -f index.html $(WEBKOBE)/index.html
1.3       takayama  143:
                    144: clean-web-kobe :
1.22      takayama  145:        -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.25    ! takayama  146:
        !           147: clean:
        !           148:        /bin/rm -rf tmp-poster calc2000
1.15      takayama  149:
                    150: print:
                    151:        $(PS) Makefile | $(LPR)
                    152:        $(PS) index.html | $(LPR)

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