Annotation of OpenXM/src/k097/Doc/Makefile, Revision 1.3
1.3 ! takayama 1: #$OpenXM: OpenXM/src/k097/Doc/Makefile,v 1.2 2001/01/08 05:26:50 takayama Exp $
1.1 takayama 2: # targets
3: # all :
4: #
5: # Configure here.
6: OpenXM_ROOT=$(HOME)/OpenXM
7: OpenXM_HOME=${OpenXM_ROOT}
8: #
9:
10: ASIRDOC=${OpenXM_ROOT}/src/asir-doc
11: ASIRLIB=${OpenXM_ROOT}/../OpenXM_contrib2/asir2000/lib
12: CONTRIB=${OpenXM_ROOT}/src/asir-contrib/packages/src
13: HELP=${OpenXM_HOME}/lib/k097/help
14: HELP_JA=$(HELP)/help-ja
15: HELP_EN=$(HELP)/help-en
16: ## PS documents are installed under $(OpenXM_doc)/asir-contrib
17: OpenXM_doc=$(OpenXM_ROOT)/doc
18: DVIPS=dvips -f
19: OXWEAVE=$(OpenXM_ROOT)/src/kxx/oxweave
1.3 ! takayama 20: TEXI2HTML=texi2html -menu -split_node
1.1 takayama 21:
1.2 takayama 22: INFO=complex standard standard-suppl
1.3 ! takayama 23: JPSRCS= k0-man-ja.texi complex-ja.texi standard-ja.texi standard-suppl-ja.texi
! 24: ENSRCS= k0-man-en.texi complex-en.texi standard-en.texi standard-suppl-en.texi
1.1 takayama 25: # INFO=complex
26: # JPSRCS= complex-ja.texi
27: # ENSRCS= complex-en.texi
28:
1.2 takayama 29: all : make_help_dir build post-install
30: build: all-ja all-en
31: post-install:
32: -rm -rf $(HELP_JA)/*.texi $(HELP_JA)/complex $(HELP_JA)/standard $(HELP_JA)/standard-suppl
33: -rm -rf $(HELP_EN)/*.texi $(HELP_EN)/complex $(HELP_EN)/standard $(HELP_EN)/standard-suppl
1.1 takayama 34: make_help_dir:
35: -mkdir $(HELP)
36: all-ja: $(JPSRCS) $(ASIRDOC)/extract_func
37: -rm -rf $(HELP_JA)
38: mkdir $(HELP_JA)
39: for i in $(JPSRCS); do nkf -e $$i > $(HELP_JA)/$$i; done
40: -for i in $(JPSRCS); do (cd $(HELP_JA); makeinfo --force $$i); done
41: (cd $(HELP_JA); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done)
42: all-en: $(ENSRCS) $(ASIRDOC)/extract_func
43: -rm -rf $(HELP_EN)
44: mkdir $(HELP_EN)
45: for i in $(ENSRCS); do nkf -e $$i > $(HELP_EN)/$$i; done
46: -for i in $(ENSRCS); do (cd $(HELP_EN); makeinfo --force $$i); done
47: (cd $(HELP_EN); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done)
48:
1.3 ! takayama 49: html-en: all-en
! 50: -rm -rf html-en
! 51: -mkdir html-en
! 52: -cp $(HELP_EN)/*.texi html-en
! 53: -(cd html-en; ${TEXI2HTML} k0-man-en.texi)
! 54:
! 55: html-ja: all-ja
! 56: -mkdir html-ja
! 57: -cp $(HELP_JA)/*.texi html-ja
! 58: -(cd html-ja; ${TEXI2HTML} k0-man-ja.texi)
! 59:
! 60: k0-man-ja.texi: k0-man.texi
! 61: /bin/rm -f k0-man-ja.texi
! 62: $(OXWEAVE) C ja <k0-man.texi >k0-man-ja.texi
! 63:
! 64: k0-man-en.texi: k0-man.texi
! 65: /bin/rm -f k0-man-en.texi
! 66: $(OXWEAVE) C en <k0-man.texi >k0-man-en.texi
! 67:
1.1 takayama 68: standard.texi:
69: -rm -rf standard.texi
1.2 takayama 70: k0 <genhelp.k >standard.texi
1.1 takayama 71:
72: complex-ja.texi : complex.texi
73: /bin/rm -f complex-ja.texi
74: $(OXWEAVE) C ja <complex.texi >complex-ja.texi
75: complex-en.texi : complex.texi
76: /bin/rm -f complex-en.texi
77: $(OXWEAVE) C en <complex.texi >complex-en.texi
78: standard-ja.texi : standard.texi
79: /bin/rm -f standard-ja.texi
80: $(OXWEAVE) C en <standard.texi >standard-ja.texi
81: standard-en.texi : standard.texi
82: /bin/rm -f standard-en.texi
83: $(OXWEAVE) C en <standard.texi >standard-en.texi
1.2 takayama 84: standard-suppl-ja.texi : standard-suppl.texi
85: /bin/rm -f standard-suppl-ja.texi
86: $(OXWEAVE) C ja <standard-suppl.texi >standard-suppl-ja.texi
87: standard-suppl-en.texi : standard-suppl.texi
88: /bin/rm -f standard-suppl-en.texi
89: $(OXWEAVE) C en <standard-suppl.texi >standard-suppl-en.texi
1.1 takayama 90:
91: clean :
92: -/bin/rm -rf $(HELP)
93: -/bin/rm -f *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr
1.3 ! takayama 94: -/bin/rm -f complex-en.texi complex-ja.texi standard-en.texi standard-ja.texi standard.texi standard-suppl-en.texi standard-suppl-ja.texi k0-man-en.texi k0-man-ja.texi
! 95: -/bin/rm -rf html-en html-ja
1.1 takayama 96:
1.2 takayama 97:
98: mybackup :
99: (cd ../.. ; rsync -avz -e "ssh -l taka" --exclude '*~' --exclude 'k0' --exclude 'd0' --exclude '*.o' --exclude 'help' k097 lemon.math.sci.kobe-u.ac.jp:tmp/tmp-backup)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>