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