version 1.10, 2006/02/08 04:23:11 |
version 1.26, 2016/03/28 12:10:23 |
|
|
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.9 2006/02/08 04:16:31 takayama Exp $ |
#$OpenXM: OpenXM/src/asir-contrib/packages/doc/Makefile.in,v 1.25 2014/05/26 05:50:58 takayama 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 |
|
DOCDIRTOP=@prefix@/doc |
|
|
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 top |
todo_parametrize f_res taji_alc top noro_matrix mt_graph nn_ndbf noro_mwl noro_pd \ |
|
ns_twistedlog nk_fb_gen_c gtt_ekn |
|
|
|
|
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 ; \ |
install -m 0644 asir-doc-top.html ${DOCDIRTOP} ; \ |
make install-html-doc ; \ |
touch ./.install_doc_done ; \ |
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 |