Annotation of OpenXM/doc/OpenXM-web/Makefile, Revision 1.21
1.21 ! takayama 1: # $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.20 2000/04/13 00:35:52 takayama Exp $
1.1 takayama 2: #
3: WEBKOBE=/home/web/OpenXM
1.16 takayama 4: WEBKOBE1=/home/web/OpenXM/1.1.2
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:
19: all-spec : $(WEBKOBE1)/openxm-eg.ps $(WEBKOBE1)/openxm-jp.ps
20:
21: copy-doc :
22: /bin/rm -rf $(WEBKOBE1)/doc
23: mkdir $(WEBKOBE1)/doc
1.13 takayama 24: -(cd ../../doc ; cp -r Papers asir-contrib asir2000 kan96xx ox_math pari $(WEBKOBE1)/doc)
1.8 takayama 25:
26: copy-html :
27: /bin/rm -rf $(WEBKOBE1)/html
28: mkdir $(WEBKOBE1)/html
29: mkdir $(WEBKOBE1)/html/OpenXM-eg
30: mkdir $(WEBKOBE1)/html/OpenXM-jp
31: -(cd $(OpenXM_spec) ; make ; cd tmpEG ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM )
32: -(cd $(OpenXM_spec) ; cd tmpJP ; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM )
33: -(cd $(OpenXM_spec) ; cd tmpEG ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-eg)
34: -(cd $(OpenXM_spec) ; cd tmpJP ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-jp)
1.20 takayama 35:
36: ## Under construction.
37: namagize-html: copy-html
38: -(cd $(WEBKOBE1)/html/OpenXM-jp ; rm -rf OpenXM-jp.index ; mkdir OpenXM-jp.index )
39: -(cd $(WEBKOBE1)/html/OpenXM-jp/OpenXM-jp.index ; mknmz ../OpenXM-jp/OpenXM)
1.5 takayama 40:
41:
42:
1.21 ! takayama 43: install-web-kobe : $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/install-eg.txt $(WEBKOBE1)/install-jp.txt $(WEBKOBE1)/ERRATA.html $(WEBKOBE1)/index-binary.html $(WEBKOBE1)/index-packages.html $(WEBKOBE1)/install-faq.txt $(WEBKOBE1)/OpenXM-FAQ-jp.txt $(WEBKOBE1)/doc/index.html
1.2 takayama 44:
45: $(WEBKOBE)/index.html : index.html
1.1 takayama 46: cp -f index.html $(WEBKOBE)
1.16 takayama 47: cp -f index.html $(WEBKOBE1)
48:
49: $(WEBKOBE1)/index-binary.html : index-binary.html
1.17 takayama 50: cp -f index-binary.html $(WEBKOBE1)
1.16 takayama 51:
52: $(WEBKOBE1)/index-packages.html : index-packages.html
1.17 takayama 53: cp -f index-packages.html $(WEBKOBE1)
1.2 takayama 54:
55: $(WEBKOBE)/issac2000.ps : $(OpenXM_doc)/issac2000/issac2000.ps
1.1 takayama 56: cp -f $(OpenXM_doc)/issac2000/issac2000.ps $(WEBKOBE)
1.3 takayama 57:
58: $(WEBKOBE1)/cmotag.h : cmotag.h
59: cp -f cmotag.h $(WEBKOBE1)
60:
61: $(WEBKOBE1)/oxMessageTag.h : oxMessageTag.h
62: cp -f oxMessageTag.h $(WEBKOBE1)
63:
64: $(WEBKOBE1)/smCommand.h : smCommand.h
65: cp -f smCommand.h $(WEBKOBE1)
66:
1.5 takayama 67: $(WEBKOBE1)/openxm-eg.ps : $(OpenXM_spec)/tmpEG/OpenXM.tex
1.3 takayama 68: -rm -f $(WEBKOBE1)/openxm-eg.ps
1.5 takayama 69: -(cd $(OpenXM_spec) ; make doc ; cd tmpEG ; latex OpenXM ; latex OpenXM)
1.10 takayama 70: -( cd $(OpenXM_spec)/tmpEG ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-eg.ps)
1.3 takayama 71:
1.5 takayama 72: $(WEBKOBE1)/openxm-jp.ps : $(OpenXM_spec)/tmpJP/OpenXM.tex
1.3 takayama 73: -rm -f $(WEBKOBE1)/openxm-jp.ps
1.5 takayama 74: -(cd $(OpenXM_spec) ; make doc ; cd tmpJP ; platex OpenXM ; platex OpenXM)
1.10 takayama 75: -(cd $(OpenXM_spec)/tmpJP ; $(DVIPS) OpenXM >$(WEBKOBE1)/openxm-jp.ps)
1.4 takayama 76:
77: $(WEBKOBE1)/install-eg.txt : $(OpenXM_doc)/install-eg.txt
78: -cp $(OpenXM_doc)/install-eg.txt $(WEBKOBE1)
1.5 takayama 79:
80: $(OpenXM_spec)/tmpEG/OpenXM.tex :
81: -(cd $(OpenXM_spec) ; make )
82: $(OpenXM_spec)/tmpJP/OpenXM.tex :
83: -(cd $(OpenXM_spec) ; make )
1.4 takayama 84:
85: $(WEBKOBE1)/install-jp.txt : $(OpenXM_doc)/install-jp.txt
86: -cp $(OpenXM_doc)/install-jp.txt $(WEBKOBE1)
87: $(OpenXM_doc)/install-eg.txt : $(OpenXM_doc)/install.oxweave
88: ( cd $(OpenXM_doc) ; make )
89: $(OpenXM_doc)/install-jp.txt : $(OpenXM_doc)/install.oxweave
90: ( cd $(OpenXM_doc) ; make )
1.7 takayama 91: $(WEBKOBE1)/ERRATA.html : ERRATA.html
1.11 takayama 92: cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.18 takayama 93: $(WEBKOBE1)/install-faq.txt : install-faq.txt
94: cp -f install-faq.txt $(WEBKOBE1)/install-faq.txt
1.19 takayama 95: $(WEBKOBE1)/OpenXM-FAQ-jp.txt : ../OpenXM-FAQ-jp.txt
96: cp -f ../OpenXM-FAQ-jp.txt $(WEBKOBE1)/OpenXM-FAQ-jp.txt
1.21 ! takayama 97: $(WEBKOBE1)/doc/index.html : index-doc.html
! 98: cp -f index-doc.html $(WEBKOBE1)/doc/index.html
1.11 takayama 99:
100: copy-errata :
1.7 takayama 101: cp -f ERRATA.html $(WEBKOBE1)/ERRATA.html
1.12 takayama 102: copy-index :
103: cp -f index.html $(WEBKOBE1)/index.html
1.14 takayama 104:
105: copy-errata-top :
106: cp -f ERRATA.html $(WEBKOBE)/ERRATA.html
107: copy-index-top :
108: cp -f index.html $(WEBKOBE)/index.html
1.3 takayama 109:
110: clean-web-kobe :
111: -rm $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/openxm-eg.ps $(WEBKOBE1)/openxm-jp.ps
1.15 takayama 112:
113: print:
114: $(PS) Makefile | $(LPR)
115: $(PS) index.html | $(LPR)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>