version 1.13, 2008/05/18 07:37:43 |
version 1.20, 2009/12/02 05:31:11 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.12 2008/01/23 02:36:13 takayama Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.19 2009/02/22 06:51:12 ohara Exp $ |
RM=rm |
RM=rm -f |
|
|
INSTALL_doc=@prefix@/doc |
LANGUAGES = en ja |
INSTALL_lib=@prefix@/lib |
|
OXWEAVE=@prefix@/bin/oxweave |
|
OXGENTEXI=@prefix@/bin/oxgentexi |
|
OXREPLACE=@prefix@/bin/oxreplace |
|
|
|
|
bindir=@prefix@/bin |
|
LIBDIR=@prefix@/lib/asir |
|
DOCDIR=@prefix@/doc/asir-contrib |
|
|
SUBDIRS=dsolv gnuplot mathematica ok_diff ok_dmodule om \ |
SUBDIRS=dsolv gnuplot mathematica ok_diff ok_dmodule om \ |
pfpcoh phc plucker sm1 tigers \ |
pfpcoh phc plucker sm1 tigers \ |
todo_parametrize f_res taji_alc top noro_matrix |
todo_parametrize f_res taji_alc top noro_matrix mt_graph nn_ndbf |
|
|
all : |
all : |
|
@if [ ! -f ./.build_done ] ; then \ |
|
for i in ${SUBDIRS}; do (cd $$i && ${MAKE}); done ; \ |
|
touch ./.build_done ; \ |
|
fi |
|
|
install : |
install: install-help install-document |
|
|
|
install-help: all |
@if [ ! -f ./.install_help_done ] ; then \ |
@if [ ! -f ./.install_help_done ] ; then \ |
make install-help ; \ |
for i in ${SUBDIRS}; do (cd $$i && ${MAKE} install-help); done ; \ |
touch ./.install_help_done ; \ |
touch ./.install_help_done ; \ |
else \ |
else \ |
echo "NOTE: Installation of document is already done. Remove .install_help_done for a new installation." ; \ |
echo "NOTE: Installation of document is already done. Remove .install_help_done for a new installation." ; \ |
fi |
fi |
install-help: install-help-en install-help-ja |
|
install-document : |
install-document: all |
@if [ ! -f ./.install_document_done ] ; then \ |
@if [ ! -f ./.install_doc_done ] ; then \ |
${RM} -rf ${INSTALL_doc}/asir-contrib/ja ; \ |
for i in ${SUBDIRS}; do (cd $$i && ${MAKE} install-document); done ; \ |
${RM} -rf ${INSTALL_doc}/asir-contrib/en ; \ |
touch ./.install_doc_done ; \ |
make install-html-doc ; \ |
|
make fix-links ; \ |
|
make install-dvi-ps-pdf-doc ; \ |
|
touch ./.install_document_done ; \ |
|
else \ |
else \ |
echo "NOTE: Installation of document is already done. Remove .install_document_done for a new installation." ; \ |
echo "NOTE: Installation of document is already done. Remove .install_doc_done for a new installation." ; \ |
fi |
fi |
install-html-doc: install-html-doc-en install-html-doc-ja |
|
install-dvi-ps-pdf-doc: install-dvi-ps-pdf-doc-en install-dvi-ps-pdf-doc-ja |
|
|
|
install-help-en: |
|
-${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help |
|
-for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-help-en); done |
|
|
|
install-help-ja: |
|
-${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help |
|
-for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-help-ja); done |
|
|
|
install-html-doc-en: |
|
-for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-html-en); done |
|
|
|
install-html-doc-ja: |
|
-for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' install-html-ja); done |
|
|
|
install-dvi-ps-pdf-doc-en: |
|
-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 |
|
|
|
install-dvi-ps-pdf-doc-ja: |
|
-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 |
|
|
|
fix-links: fix-links-en fix-links-ja |
|
fix-links-ja: |
|
cp top/fix-link.sh ${INSTALL_doc}/asir-contrib/ja/cman-html |
|
(cd ${INSTALL_doc}/asir-contrib/ja/cman-html; sh ./fix-link.sh ja ${OXREPLACE}) |
|
fix-links-en: |
|
cp top/fix-link.sh ${INSTALL_doc}/asir-contrib/en/cman-html |
|
(cd ${INSTALL_doc}/asir-contrib/en/cman-html; sh ./fix-link.sh en ${OXREPLACE}) |
|
|
|
clean: |
clean: |
-${RM} -rf ./.*done config.log config.status autom4te.cache |
for i in ${SUBDIRS}; do (cd $$i; ${MAKE} clean); done |
for i in ${SUBDIRS}; do (cd $$i; make clean); done |
|
distclean: clean |
|
-${RM} -rf ${INSTALL_lib}/asir/help-eg/xm.help |
|
-${RM} -rf ${INSTALL_lib}/asir/help-jp/xm.help |
|
-${RM} -rf ${INSTALL_doc}/asir-contrib |
|
-${RM} -rf ${INSTALL_doc}/asir-contrib |
|
|
|
|
distclean: clean |
|
-for j in ${LANGUAGES}; do \ |
# For a test. |
${RM} -r ${LIBDIR}/help-$$j/xm.help ; \ |
gen-help-ja: |
done |
-for i in ${SUBDIRS}; do (cd $$i; make INSTALL_doc='${INSTALL_doc}' INSTALL_lib='${INSTALL_lib}' OXWEAVE='${OXWEAVE}' OXGENTEXI='${OXGENTEXI}' gen-help-ja); done |
-${RM} -r ${DOCDIR} |
|
-${RM} -r ./.*done config.log config.status autom4te.cache |
|
-${RM} Makefile M/Makefile |