Annotation of OpenXM/src/cfep/package/Makefile-doc, Revision 1.6
1.1 takayama 1: usage:
2: @echo "************************ Preparation ****************************"
1.6 ! takayama 3: @echo " export PATH=/Library/TeX/texbin:$PATH "
! 4: @echo " to use xetex, ptex, dvipdfm(x), dvips, texi2html, (latex2html) "
! 5: @echo " brew install texi2html may help."
1.1 takayama 6: @echo " (latex, dvips, pstoimg --- for print_png_form)"
7: @echo " export LC_ALL=\"C\" "
8: @echo " to avoid strange behavior of the translation of argv (see misc/argtest)"
9: @echo " See also oxgentexi --title name_by_euc_code "
10: @echo " source ~/OX4/OpenXM/rc/dot.bashrc "
11: @echo "*******************************************************************"
12: @echo "Or source ~/bin/dot.finkrc;source ~/OX4/OpenXM/rc/dot.bashrc;export LC_ALL=C"
13: @echo "*******************************************************************"
14:
15: OpenXM_HOME=${HOME}/OX4/OpenXM
16:
17: #Build the following html files.
1.4 ohara 18: #${OpenXM_HOME}/doc/asir2000/html-ja/*.html
1.1 takayama 19: #${OpenXM_HOME}/doc/asir2000/html-exp-ja/*.html
20: #${OpenXM_HOME}/doc/asir-contrib/ja/*-html/*.html
21: build-documents:
22: if test ! -f .build-documents_done ; then \
23: (cd ${OpenXM_HOME}/src/asir-doc ; make install) ; \
24: (cd ${OpenXM_HOME}/src/asir-contrib/packages/doc ; make install-document) ; \
25: touch .build-documents_done ; \
26: fi
1.2 takayama 27: gendoc: gendoc.c
28: gcc -o gendoc gendoc.c
1.1 takayama 29:
1.3 takayama 30: build-utf8-asir: gendoc build-documents install-html-en-to-cfep
1.6 ! takayama 31: ./gendoc ${OpenXM_HOME}/doc/asir2000/html-ja/man
! 32: ./gendoc ${OpenXM_HOME}/doc/asir2000/html-exp-ja/exp-ja
1.1 takayama 33: # copy png files if necessary.
34: @echo "--------------------------------------------------------------------------"
35: @echo "utf8 documents are generated under ${OpenXM_HOME}/doc/cfep/html-ja_JP.utf8"
36: @echo "--------------------------------------------------------------------------"
37: #build-utf8-asir-contrib: not yet
38:
1.3 takayama 39: install-html-en-to-cfep:
40: mkdir -p ${OpenXM_HOME}/doc/cfep
1.4 ohara 41: rsync -avz ${OpenXM_HOME}/doc/asir2000/html-en ${OpenXM_HOME}/doc/cfep
1.3 takayama 42:
1.1 takayama 43: install-pdf-to-cfep: install-pdf-to-cfep2
44: cp ../Doc/Intro/next2.pdf ${OpenXM_HOME}/doc/cfep/pdf
1.6 ! takayama 45: -scp taka@lemon.math.kobe-u.ac.jp:/home/web/OpenXM/Current/doc/asir-contrib/ja/*.pdf ${OpenXM_HOME}/doc/cfep/pdf
1.1 takayama 46: ######### Collect pdf document from the nextwork. Update this before distribution.
1.5 takayama 47: -scp taka@lemon.math.kobe-u.ac.jp:this11/asir-book/main.pdf ${OpenXM_HOME}/doc/cfep/pdf/asir-book.pdf
1.1 takayama 48:
49: install-pdf-to-cfep2:
1.2 takayama 50: rm -rf ${OpenXM_HOME}/doc/cfep/pdf
51: mkdir -p ${OpenXM_HOME}/doc/cfep/pdf
1.1 takayama 52: -scp taka@lemon.math.kobe-u.ac.jp:/home/web/OpenXM/Current/doc/asir-contrib/ja/yang_tutorial-ja.pdf ${OpenXM_HOME}/doc/cfep/pdf
53: -scp taka@lemon.math.kobe-u.ac.jp:/home/web/OpenXM/Current/doc/asir-contrib/en/dualgraph-manual.pdf ${OpenXM_HOME}/doc/cfep/pdf
54: -scp taka@lemon.math.kobe-u.ac.jp:/home/web/raj/Papers/002.pdf ${OpenXM_HOME}/doc/cfep/pdf/nk_mora.pdf
55: ## copy ../Doc/Intro
56:
57: clean:
58: rm -f .*done
59:
60: clean-OpenXM: clean
61: (cd ${OpenXM_HOME}/src/asir-doc ; make clean ; ./make-configure)
62: (cd ${OpenXM_HOME}/src/asir-contrib ; make clean ; ./make-configure)
63:
64:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>