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

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

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

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