Annotation of OpenXM/src/asir-contrib/packages/doc/Makefile.in, Revision 1.18
1.18 ! ohara 1: #$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.17 2009/02/21 22:09:11 ohara Exp $
1.17 ohara 2: RM=rm -f
1.7 takayama 3:
1.17 ohara 4: LANGUAGES = en ja
5:
6: INSTALL=@INSTALL@
7: INSTALL_SCRIPT=@INSTALL_SCRIPT@
8:
9: #top_srcdir=@top_srcdir@
10: bindir=@prefix@/bin
11: LIBDIR=@prefix@/lib/asir
12: DOCDIR=@prefix@/doc/asir-contrib
13: OXREPLACE=${bindir}/oxreplace
1.1 takayama 14:
1.7 takayama 15: SUBDIRS=dsolv gnuplot mathematica ok_diff ok_dmodule om \
16: pfpcoh phc plucker sm1 tigers \
1.14 takayama 17: todo_parametrize f_res taji_alc top noro_matrix mt_graph
1.7 takayama 18:
19: all :
1.17 ohara 20: @if [ ! -f ./.build_done ] ; then \
21: for i in ${SUBDIRS}; do (cd $$i && ${MAKE}); done ; \
22: touch ./.build_done ; \
23: fi
1.7 takayama 24:
1.18 ! ohara 25: install: install-help install-document
1.17 ohara 26:
27: install-help: all
1.7 takayama 28: @if [ ! -f ./.install_help_done ] ; then \
1.17 ohara 29: for i in ${SUBDIRS}; do (cd $$i && ${MAKE} install-help); done ; \
1.7 takayama 30: touch ./.install_help_done ; \
1.1 takayama 31: else \
1.7 takayama 32: echo "NOTE: Installation of document is already done. Remove .install_help_done for a new installation." ; \
1.1 takayama 33: fi
1.17 ohara 34:
35: install-document: all
36: @if [ ! -f ./.install_doc_done ] ; then \
37: for i in ${SUBDIRS}; do (cd $$i; ${MAKE} install-document); done ; \
38: for j in ${LANGUAGES}; do \
39: ${INSTALL_SCRIPT} top/fix-link.sh ${DOCDIR}/$$j/cman-html ; \
40: (cd ${DOCDIR}/$$j/cman-html; sh ./fix-link.sh $$j ${OXREPLACE}) ; \
41: done ; \
42: touch ./.install_doc_done ; \
1.1 takayama 43: else \
1.7 takayama 44: echo "NOTE: Installation of document is already done. Remove .install_document_done for a new installation." ; \
1.1 takayama 45: fi
1.7 takayama 46:
1.17 ohara 47: clean:
48: for i in ${SUBDIRS}; do (cd $$i; ${MAKE} clean); done
1.1 takayama 49:
1.7 takayama 50: distclean: clean
1.17 ohara 51: -for j in ${LANGUAGES}; do \
52: ${RM} -r ${LIBDIR}/help-$$j/xm.help ; \
53: done
54: -${RM} -r ${DOCDIR}
55: -${RM} -r ./.*done config.log config.status autom4te.cache
56: -${RM} Makefile M/Makefile
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>