Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile.in, Revision 1.15
1.15 ! takayama 1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.14 2009/02/12 08:12:58 takayama Exp $
1.7 takayama 2: RM=rm
3:
1.1 takayama 4: INSTALL_doc=@prefix@/doc
5: INSTALL_lib=@prefix@/lib
6: OXWEAVE=@prefix@/bin/oxweave
1.7 takayama 7: OXGENTEXI=@prefix@/bin/oxgentexi
1.8 takayama 8: OXREPLACE=@prefix@/bin/oxreplace
1.1 takayama 9:
1.7 takayama 10: SUBDIRS=dsolv gnuplot mathematica ok_diff ok_dmodule om \
11: pfpcoh phc plucker sm1 tigers \
1.14 takayama 12: todo_parametrize f_res taji_alc top noro_matrix mt_graph
1.7 takayama 13:
14: all :
15:
16: install :
17: @if [ ! -f ./.install_help_done ] ; then \
18: make install-help ; \
19: touch ./.install_help_done ; \
1.1 takayama 20: else \
1.7 takayama 21: echo "NOTE: Installation of document is already done. Remove .install_help_done for a new installation." ; \
1.1 takayama 22: fi
1.7 takayama 23: install-help: install-help-en install-help-ja
24: install-document :
25: @if [ ! -f ./.install_document_done ] ; then \
1.10 takayama 26: ${RM} -rf ${INSTALL_doc}/asir-contrib/ja ; \
27: ${RM} -rf ${INSTALL_doc}/asir-contrib/en ; \
1.7 takayama 28: make install-html-doc ; \
1.8 takayama 29: make fix-links ; \
1.7 takayama 30: make install-dvi-ps-pdf-doc ; \
31: touch ./.install_document_done ; \
1.1 takayama 32: else \
1.7 takayama 33: echo "NOTE: Installation of document is already done. Remove .install_document_done for a new installation." ; \
1.1 takayama 34: fi
1.7 takayama 35: install-html-doc: install-html-doc-en install-html-doc-ja
36: install-dvi-ps-pdf-doc: install-dvi-ps-pdf-doc-en install-dvi-ps-pdf-doc-ja
37:
38: install-help-en:
39: -${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help
40: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-help-en); done
41:
42: install-help-ja:
43: -${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help
44: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-help-ja); done
1.1 takayama 45:
1.7 takayama 46: install-html-doc-en:
47: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-html-en); done
1.1 takayama 48:
1.7 takayama 49: install-html-doc-ja:
50: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-html-ja); done
1.1 takayama 51:
1.7 takayama 52: install-dvi-ps-pdf-doc-en:
53: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-dvi-ps-pdf-en); done
54:
55: install-dvi-ps-pdf-doc-ja:
56: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-dvi-ps-pdf-ja); done
1.8 takayama 57:
58: fix-links: fix-links-en fix-links-ja
59: fix-links-ja:
1.15 ! takayama 60: cp top/fix-link.sh ${INSTALL_doc}/asir-contrib/ja/cman-html/cman-ja
! 61: (cd ${INSTALL_doc}/asir-contrib/ja/cman-html/cman-ja; sh ./fix-link.sh ja ${OXREPLACE})
1.8 takayama 62: fix-links-en:
1.15 ! takayama 63: cp top/fix-link.sh ${INSTALL_doc}/asir-contrib/en/cman-html/cman-en
! 64: (cd ${INSTALL_doc}/asir-contrib/en/cman-html/cman-en; sh ./fix-link.sh en ${OXREPLACE})
1.1 takayama 65:
66: clean:
1.7 takayama 67: -${RM} -rf ./.*done config.log config.status autom4te.cache
1.5 takayama 68: for i in ${SUBDIRS}; do (cd $$i; make clean); done
1.7 takayama 69: distclean: clean
70: -${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help
71: -${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help
72: -${RM} -rf ${INSTALL_doc}/asir-contrib
73: -${RM} -rf ${INSTALL_doc}/asir-contrib
74:
75:
76:
77: # For a test.
78: gen-help-ja:
79: -for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' gen-help-ja); done
80:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>