version 1.1, 2001/01/04 12:29:32 |
version 1.3, 2001/05/27 12:48:02 |
|
|
#$OpenXM$ |
#$OpenXM: OpenXM/src/k097/Doc/Makefile,v 1.2 2001/01/08 05:26:50 takayama Exp $ |
# targets |
# targets |
# all : |
# all : |
# |
# |
Line 17 HELP_EN=$(HELP)/help-en |
|
Line 17 HELP_EN=$(HELP)/help-en |
|
OpenXM_doc=$(OpenXM_ROOT)/doc |
OpenXM_doc=$(OpenXM_ROOT)/doc |
DVIPS=dvips -f |
DVIPS=dvips -f |
OXWEAVE=$(OpenXM_ROOT)/src/kxx/oxweave |
OXWEAVE=$(OpenXM_ROOT)/src/kxx/oxweave |
|
TEXI2HTML=texi2html -menu -split_node |
|
|
INFO=complex standard |
INFO=complex standard standard-suppl |
JPSRCS= complex-ja.texi standard-ja.texi |
JPSRCS= k0-man-ja.texi complex-ja.texi standard-ja.texi standard-suppl-ja.texi |
ENSRCS= complex-en.texi standard-en.texi |
ENSRCS= k0-man-en.texi complex-en.texi standard-en.texi standard-suppl-en.texi |
# INFO=complex |
# INFO=complex |
# JPSRCS= complex-ja.texi |
# JPSRCS= complex-ja.texi |
# ENSRCS= complex-en.texi |
# ENSRCS= complex-en.texi |
|
|
all : make_help_dir all-ja all-en |
all : make_help_dir build post-install |
|
build: all-ja all-en |
|
post-install: |
|
-rm -rf $(HELP_JA)/*.texi $(HELP_JA)/complex $(HELP_JA)/standard $(HELP_JA)/standard-suppl |
|
-rm -rf $(HELP_EN)/*.texi $(HELP_EN)/complex $(HELP_EN)/standard $(HELP_EN)/standard-suppl |
make_help_dir: |
make_help_dir: |
-mkdir $(HELP) |
-mkdir $(HELP) |
all-ja: $(JPSRCS) $(ASIRDOC)/extract_func |
all-ja: $(JPSRCS) $(ASIRDOC)/extract_func |
Line 41 all-en: $(ENSRCS) $(ASIRDOC)/extract_func |
|
Line 46 all-en: $(ENSRCS) $(ASIRDOC)/extract_func |
|
-for i in $(ENSRCS); do (cd $(HELP_EN); makeinfo --force $$i); done |
-for i in $(ENSRCS); do (cd $(HELP_EN); makeinfo --force $$i); done |
(cd $(HELP_EN); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done) |
(cd $(HELP_EN); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done) |
|
|
|
html-en: all-en |
|
-rm -rf html-en |
|
-mkdir html-en |
|
-cp $(HELP_EN)/*.texi html-en |
|
-(cd html-en; ${TEXI2HTML} k0-man-en.texi) |
|
|
|
html-ja: all-ja |
|
-mkdir html-ja |
|
-cp $(HELP_JA)/*.texi html-ja |
|
-(cd html-ja; ${TEXI2HTML} k0-man-ja.texi) |
|
|
|
k0-man-ja.texi: k0-man.texi |
|
/bin/rm -f k0-man-ja.texi |
|
$(OXWEAVE) C ja <k0-man.texi >k0-man-ja.texi |
|
|
|
k0-man-en.texi: k0-man.texi |
|
/bin/rm -f k0-man-en.texi |
|
$(OXWEAVE) C en <k0-man.texi >k0-man-en.texi |
|
|
standard.texi: |
standard.texi: |
-rm -rf standard.texi |
-rm -rf standard.texi |
k0 <genhelp.k >standard.texi |
k0 <genhelp.k >standard.texi |
|
|
complex-ja.texi : complex.texi |
complex-ja.texi : complex.texi |
/bin/rm -f complex-ja.texi |
/bin/rm -f complex-ja.texi |
Line 57 standard-ja.texi : standard.texi |
|
Line 81 standard-ja.texi : standard.texi |
|
standard-en.texi : standard.texi |
standard-en.texi : standard.texi |
/bin/rm -f standard-en.texi |
/bin/rm -f standard-en.texi |
$(OXWEAVE) C en <standard.texi >standard-en.texi |
$(OXWEAVE) C en <standard.texi >standard-en.texi |
|
standard-suppl-ja.texi : standard-suppl.texi |
|
/bin/rm -f standard-suppl-ja.texi |
|
$(OXWEAVE) C ja <standard-suppl.texi >standard-suppl-ja.texi |
|
standard-suppl-en.texi : standard-suppl.texi |
|
/bin/rm -f standard-suppl-en.texi |
|
$(OXWEAVE) C en <standard-suppl.texi >standard-suppl-en.texi |
|
|
clean : |
clean : |
-/bin/rm -rf $(HELP) |
-/bin/rm -rf $(HELP) |
-/bin/rm -f *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr |
-/bin/rm -f *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr |
-/bin/rm -f complex-en.texi complex-ja.texi standard-en.texi standard-ja.texi standard.texi |
-/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 |
|
-/bin/rm -rf html-en html-ja |
|
|
|
|
|
mybackup : |
|
(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) |