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