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