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

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

1.44    ! takayama    1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.43 2003/09/02 14:34:17 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.39      takayama   22: CURRENT_FILES=index.html OpenXM-RFC.html cmotag.h oxMessageTag.h smCommand.h \
                     23:               anonymous.html ERRATA.html
1.37      takayama   24:
1.40      takayama   25: OXWEAVE_FILES_in_doc=install-en.txt install-ja.txt OpenXM-FAQ-en.txt OpenXM-FAQ-ja.txt
1.5       takayama   26:
1.39      takayama   27: LOGOS=logo-openxm2.jpg logo-openxm5.jpg logo-openxm_simple0.jpg
1.5       takayama   28:
1.39      takayama   29: MANUALS=asir2000 asir-contrib kan96xx ox_math
1.35      takayama   30:
1.39      takayama   31: all: all-stable all-ascm2001 all-current all-top all-current-spec
1.40      takayama   32:        @echo "************************************************************"
                     33:        @echo "* cp -r  /home/web/OpenXM/Current /home/web/OpenXM/x.y.z   *"
                     34:        @echo "* to generate a page of the specific version x.y.z         *"
                     35:        @echo "* Edit /home/web/OpenXM/x.y.z/index.html by hand.          *"
                     36:        @echo "************************************************************"
1.2       takayama   37:
1.39      takayama   38: configure-dir:
                     39:        if test ! -f .configure-dir.done ; \
                     40:        then \
                     41:                if test ! -d ${OXHOME} ; then mkdir ${OXHOME} ; fi ; \
                     42:                if test ! -d ${CURRENT} ; then mkdir ${CURRENT} ; fi ; \
                     43:                if test ! -d ${CURRENT}/doc ; then mkdir ${CURRENT}/doc ; fi ; \
                     44:                if test ! -d ${STABLE} ; then mkdir ${STABLE} ; fi ; \
1.40      takayama   45:                if test ! -d ${STABLE}/html ; then mkdir ${STABLE}/html ; fi ; \
                     46:                if test ! -d ${STABLE}/html/OpenXM-poster ; then mkdir ${STABLE}/html/OpenXM-poster ; fi ; \
1.39      takayama   47:                if test ! -d ${ASCM2001} ; then mkdir ${ASCM2001} ; fi ; \
                     48:                touch .configure-dir.done ; \
                     49:        fi
                     50:
                     51: all-stable:  configure-dir
1.40      takayama   52:        make -f Makefile-intro all-html-poster
                     53:        (cd tmp-poster ; ${RSYNC} func1 func2 efficient ${STABLE}/html/OpenXM-poster)
1.39      takayama   54:
                     55: all-ascm2001: configure-dir
1.40      takayama   56:        make -f Makefile-intro all-html-ascm
                     57:        -(cd ${OpenXM_ascm} ; ${RSYNC} ascm2001 ${OXHOME}/ascm2001)
1.39      takayama   58:
                     59: all-current: configure-dir
1.40      takayama   60:        (cd ${OpenXM_doc} ; make all)
                     61:        (cd ${OpenXM_doc} ; ${RSYNC} ${OXWEAVE_FILES_in_doc} ${CURRENT})
1.39      takayama   62:        ${RSYNC} ${CURRENT_FILES} ${CURRENT}
                     63:        cp index-doc.html ${CURRENT_DOC}/index-doc.html
                     64:        @echo "***************************************************"
                     65:        @echo "*  Have you done (cd OpenXM/src ; make install)   *"
                     66:        @echo "*  to generate the documents?                     *"
                     67:        @echo "***************************************************"
                     68:        (cd ${OpenXM_doc} ; ${RSYNC} ${MANUALS} ${CURRENT_DOC})
                     69:
                     70: all-current-spec: configure-dir
                     71:        (cd ${OpenXM_spec} ; make CURRENT=${CURRENT} install-web-all)
                     72:
                     73: all-top: configure-dir
                     74:        cp top.html ${OXHOME}/index.html
                     75:        ${RSYNC} people.html ${OXHOME}
                     76:        ${RSYNC} ${LOGOS} ${STABLE}
1.25      takayama   77:
                     78: clean:
1.39      takayama   79:        -${RM} .[a-z]*done
1.40      takayama   80:        -make -f Makefile-intro clean
                     81:        -(cd ${OpenXM_spec} ; make clean)
1.15      takayama   82:
1.39      takayama   83: clean-top:
                     84:        -${RM} ${OXHOME}/index.html
                     85: clean-everything: clean clean-top
                     86:        -${RM} -rf ${CURRENT} ${STABLE} ${ASCM2001} ${CURRENT_DOC}
1.40      takayama   87:        -${RM} -rf tmp-poster
1.37      takayama   88:
1.41      takayama   89:
                     90: ###
                     91: ### target for buggy latex2html
                     92: ###  (jlatex2html machine)% make
                     93: ###  (latex2html machine)%  make clean-en-html
                     94: ###  (latex2html machine)%  make
                     95: clean-en-html:
                     96:        -(cd ../OpenXM-specs ; make clean-en-done)
1.42      takayama   97:        -(make -f Makefile-intro clean)
1.43      takayama   98:
                     99: install-exec: ${OpenXM_include}/ox/cmotag.h ${OpenXM_include}/ox/oxMessageTag.h ${OpenXM_include}/ox/smCommand.h
                    100: ${OpenXM_include}/ox/cmotag.h: cmotag.h
                    101:        cp cmotag.h ${OpenXM_include}/ox
                    102: ${OpenXM_include}/ox/oxMessageTag.h: oxMessageTag.h
                    103:        cp oxMessageTag.h ${OpenXM_include}/ox
                    104: ${OpenXM_include}/ox/smCommand.h: smCommand.h
                    105:        cp smCommand.h ${OpenXM_include}/ox

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