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

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

1.48    ! takayama    1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.47 2005/04/14 11:18:04 takayama Exp $
1.1       takayama    2: #
1.43      takayama    3: OpenXM_HOME=../..
                      4: OpenXM_include=${OpenXM_HOME}/include
1.39      takayama    5: OXHOME=/home/web/OpenXM
1.40      takayama    6: #OXHOME=/home/taka/afo/OpenXM    ## for test.
1.39      takayama    7: CURRENT=${OXHOME}/Current
                      8: CURRENT_DOC=${CURRENT}/doc
                      9: STABLE=${OXHOME}/Stable
                     10: ASCM2001=${OXHOME}/ascm2001
1.1       takayama   11: OpenXM_doc=../.
1.5       takayama   12: OpenXM_spec=../OpenXM-specs
1.25      takayama   13: OpenXM_calc=../calc2000p
1.34      takayama   14: OpenXM_ascm=../ascm2001
1.3       takayama   15: DVIPS=dvips -f
1.32      takayama   16: LATEX2HTML=latex2html -tmp /tmp
1.44      takayama   17: OXWEAVE=${OpenXM_HOME}/bin/oxweave
1.28      takayama   18: OW_FLAG=--recursive
1.39      takayama   19: RSYNC=rsync -Cavz
                     20: RM=rm
1.23      takayama   21:
1.47      takayama   22: CURRENT_FILES=index.html index-ja.html index-spec.html index-spec-ja.html \
                     23:               OpenXM-RFC.html \
                     24:               cmotag.h oxMessageTag.h smCommand.h \
1.39      takayama   25:               anonymous.html ERRATA.html
1.37      takayama   26:
1.40      takayama   27: OXWEAVE_FILES_in_doc=install-en.txt install-ja.txt OpenXM-FAQ-en.txt OpenXM-FAQ-ja.txt
1.5       takayama   28:
1.39      takayama   29: LOGOS=logo-openxm2.jpg logo-openxm5.jpg logo-openxm_simple0.jpg
1.5       takayama   30:
1.39      takayama   31: MANUALS=asir2000 asir-contrib kan96xx ox_math
1.35      takayama   32:
1.39      takayama   33: all: all-stable all-ascm2001 all-current all-top all-current-spec
1.40      takayama   34:        @echo "************************************************************"
                     35:        @echo "* cp -r  /home/web/OpenXM/Current /home/web/OpenXM/x.y.z   *"
                     36:        @echo "* to generate a page of the specific version x.y.z         *"
                     37:        @echo "* Edit /home/web/OpenXM/x.y.z/index.html by hand.          *"
                     38:        @echo "************************************************************"
1.2       takayama   39:
1.39      takayama   40: configure-dir:
                     41:        if test ! -f .configure-dir.done ; \
                     42:        then \
                     43:                if test ! -d ${OXHOME} ; then mkdir ${OXHOME} ; fi ; \
                     44:                if test ! -d ${CURRENT} ; then mkdir ${CURRENT} ; fi ; \
                     45:                if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi ; \
                     46:                if test ! -d ${STABLE} ; then mkdir ${STABLE} ; fi ; \
1.40      takayama   47:                if test ! -d ${STABLE}/html ; then mkdir ${STABLE}/html ; fi ; \
                     48:                if test ! -d ${STABLE}/html/OpenXM-poster ; then mkdir ${STABLE}/html/OpenXM-poster ; fi ; \
1.39      takayama   49:                if test ! -d ${ASCM2001} ; then mkdir ${ASCM2001} ; fi ; \
                     50:                touch .configure-dir.done ; \
                     51:        fi
                     52:
                     53: all-stable:  configure-dir
1.40      takayama   54:        make -f Makefile-intro all-html-poster
                     55:        (cd tmp-poster ; ${RSYNC} func1 func2 efficient ${STABLE}/html/OpenXM-poster)
1.39      takayama   56:
                     57: all-ascm2001: configure-dir
1.40      takayama   58:        make -f Makefile-intro all-html-ascm
                     59:        -(cd ${OpenXM_ascm} ; ${RSYNC} ascm2001 ${OXHOME}/ascm2001)
1.39      takayama   60:
                     61: all-current: configure-dir
1.40      takayama   62:        (cd ${OpenXM_doc} ; make all)
                     63:        (cd ${OpenXM_doc} ; ${RSYNC} ${OXWEAVE_FILES_in_doc} ${CURRENT})
1.39      takayama   64:        ${RSYNC} ${CURRENT_FILES} ${CURRENT}
                     65:        cp index-doc.html ${CURRENT_DOC}/index-doc.html
1.47      takayama   66:        cp index-doc-ja.html ${CURRENT_DOC}/index-doc-ja.html
                     67:        cp index-license.html ${CURRENT_DOC}/index-license.html
1.39      takayama   68:        @echo "***************************************************"
                     69:        @echo "*  Have you done (cd OpenXM/src ; make install)   *"
1.46      takayama   70:        @echo "*                (cd OpenXM/src ; make install-document) "
1.39      takayama   71:        @echo "*  to generate the documents?                     *"
                     72:        @echo "***************************************************"
                     73:        (cd ${OpenXM_doc} ; ${RSYNC} ${MANUALS} ${CURRENT_DOC})
                     74:
                     75: all-current-spec: configure-dir
                     76:        (cd ${OpenXM_spec} ; make CURRENT=${CURRENT} install-web-all)
                     77:
                     78: all-top: configure-dir
                     79:        cp top.html ${OXHOME}/index.html
1.47      takayama   80:        cp top-ja.html ${OXHOME}/index-ja.html
                     81:        cp inobuta-ja.html ${OXHOME}/inobuta-ja.html
1.48    ! takayama   82:        cp news-o.html ${OXHOME}/news-o.html
        !            83:        cp news-o-ja.html ${OXHOME}/news-o-ja.html
1.45      takayama   84:        cp ../../Copyright/contrib-and-hist-ja.txt ${OXHOME}
1.39      takayama   85:        ${RSYNC} people.html ${OXHOME}
                     86:        ${RSYNC} ${LOGOS} ${STABLE}
1.25      takayama   87:
                     88: clean:
1.39      takayama   89:        -${RM} .[a-z]*done
1.40      takayama   90:        -make -f Makefile-intro clean
                     91:        -(cd ${OpenXM_spec} ; make clean)
1.15      takayama   92:
1.39      takayama   93: clean-top:
                     94:        -${RM} ${OXHOME}/index.html
                     95: clean-everything: clean clean-top
                     96:        -${RM} -rf ${CURRENT} ${STABLE} ${ASCM2001} ${CURRENT_DOC}
1.40      takayama   97:        -${RM} -rf tmp-poster
1.37      takayama   98:
1.41      takayama   99:
                    100: ###
                    101: ### target for buggy latex2html
                    102: ###  (jlatex2html machine)% make
                    103: ###  (latex2html machine)%  make clean-en-html
                    104: ###  (latex2html machine)%  make
                    105: clean-en-html:
                    106:        -(cd ../OpenXM-specs ; make clean-en-done)
1.42      takayama  107:        -(make -f Makefile-intro clean)
1.43      takayama  108:
                    109: install-exec: ${OpenXM_include}/ox/cmotag.h ${OpenXM_include}/ox/oxMessageTag.h ${OpenXM_include}/ox/smCommand.h
                    110: ${OpenXM_include}/ox/cmotag.h: cmotag.h
                    111:        cp cmotag.h ${OpenXM_include}/ox
                    112: ${OpenXM_include}/ox/oxMessageTag.h: oxMessageTag.h
                    113:        cp oxMessageTag.h ${OpenXM_include}/ox
                    114: ${OpenXM_include}/ox/smCommand.h: smCommand.h
                    115:        cp smCommand.h ${OpenXM_include}/ox

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