version 1.5, 2000/12/25 06:19:10 |
version 1.10, 2003/12/05 07:53:10 |
|
|
## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.4 2000/01/19 06:41:02 takayama Exp $ |
## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.9 2003/09/11 00:52:04 takayama Exp $ |
########## Documents |
########## Documents |
TOPDIR=../../../../OpenXM |
OpenXM_HOME=../../.. |
OpenXM_ROOT=${TOPDIR} |
OpenXM_doc=$(OpenXM_HOME)/doc |
OpenXM_doc=$(OpenXM_ROOT)/doc |
OpenXM_lib=${OpenXM_HOME}/lib |
DVIPS=dvips -f |
DVIPS=dvips -f |
CC=gcc |
CC=gcc |
|
LATEX2HTML=latex2html |
|
OXWEAVE=${OpenXM_HOME}/bin/oxweave --recursive --plain |
|
|
all : ttt.tex onlinehelp.tex |
all : ttt.tex onlinehelp.tex |
echo "The document kan/example is in the file ttt.tex." |
echo "The document kan/example is in the file ttt.tex." |
Line 18 ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex. |
|
Line 20 ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex. |
|
./ole <ex.tex >ttt.tex |
./ole <ex.tex >ttt.tex |
|
|
onlinehelp.tex : |
onlinehelp.tex : |
-./printOnlineHelp |
-./printOnlineHelp ${OpenXM_lib} |
|
|
onlinehelp.dvi : onlinehelp.tex |
onlinehelp.dvi : onlinehelp.tex |
-latex onlinehelp |
-latex onlinehelp |
Line 27 onlinehelp.dvi : onlinehelp.tex |
|
Line 29 onlinehelp.dvi : onlinehelp.tex |
|
ole : ole.c |
ole : ole.c |
${CC} -o ole ole.c |
${CC} -o ole ole.c |
|
|
|
make-html-document : onlinehelp.tex ttt.tex |
|
-${LATEX2HTML} onlinehelp |
|
-${LATEX2HTML} ttt |
|
|
|
oxshell-ja.tex: oxshell.oxw |
|
rm -f oxshell-ja.tex |
|
echo "%%DO NOT EDIT THIS FILE!" >oxshell-ja.tex |
|
${OXWEAVE} C ja <oxshell.oxw >>oxshell-ja.tex |
### |
### |
install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc |
install-document : |
|
@if [ ! -f ./.done_install-document ] ; \ |
|
then \ |
|
make install-document2 ; \ |
|
touch ./.done_install-document ; \ |
|
else \ |
|
echo "NOTE: Install-document is already done. Remove .done_install-document for a new install-document." ; \ |
|
fi |
|
|
|
install-document2 : onlinehelp.dvi ttt.dvi clean-OpenXM-doc make-html-document |
mkdir $(OpenXM_doc)/kan96xx |
mkdir $(OpenXM_doc)/kan96xx |
touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
-cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex |
-cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex |
-cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex |
-cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex |
-$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps |
-$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps |
-$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps |
-$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps |
|
-cp -r onlinehelp $(OpenXM_doc)/kan96xx |
|
-cp -r ttt $(OpenXM_doc)/kan96xx |
|
|
clean-OpenXM-doc : |
clean-OpenXM-doc : |
-/bin/rm -rf $(OpenXM_doc)/kan96xx |
-/bin/rm -rf $(OpenXM_doc)/kan96xx |
|
|
########## cleaning |
########## cleaning |
clean: |
clean: |
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 |
-/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 onlinehelp ttt ./.done_install-document oxshell-ja.* oxshell-en.* |
|
|
clean-document: |
clean-document: |
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out |
-/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out onlinehelp ttt ./.done_install-document oxshell-ja.* oxshell-en.* |
|
|
|
distclean: clean clean-document |
########### kan/library |
########### kan/library |
CC=gcc |
CC=gcc |
KAN_HOME=../Kan |
KAN_HOME=../Kan |