version 1.22, 2000/09/09 03:01:24 |
version 1.24, 2000/09/09 18:24:02 |
|
|
# $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.21 2000/04/13 00:43:27 takayama Exp $ |
# $OpenXM: OpenXM/doc/OpenXM-web/Makefile,v 1.23 2000/09/09 16:46:37 takayama Exp $ |
# |
# |
WEBKOBE=/home/web/OpenXM |
WEBKOBE=/home/web/OpenXM |
WEBKOBE1=/home/web/OpenXM/1.1.3 |
WEBKOBE1=/home/web/OpenXM/1.1.3 |
Line 19 ALL : all all-spec copy-doc |
|
Line 19 ALL : all all-spec copy-doc |
|
all-spec : $(WEBKOBE1)/openxm-en.ps $(WEBKOBE1)/openxm-ja.ps |
all-spec : $(WEBKOBE1)/openxm-en.ps $(WEBKOBE1)/openxm-ja.ps |
|
|
|
|
checkDir : |
|
if test ! -d ${WEBKOBE1} ; \ |
|
then \ |
|
mkdir ${WEBKOBE1} ; \ |
|
fi |
|
|
|
copy-doc : |
copy-doc : |
/bin/rm -rf $(WEBKOBE1)/doc |
/bin/rm -rf $(WEBKOBE1)/doc |
mkdir $(WEBKOBE1)/doc |
mkdir $(WEBKOBE1)/doc |
|
|
mkdir $(WEBKOBE1)/html |
mkdir $(WEBKOBE1)/html |
mkdir $(WEBKOBE1)/html/OpenXM-en |
mkdir $(WEBKOBE1)/html/OpenXM-en |
mkdir $(WEBKOBE1)/html/OpenXM-ja |
mkdir $(WEBKOBE1)/html/OpenXM-ja |
-(cd $(OpenXM_spec) ; make ; cd tmpEG ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) |
-(cd $(OpenXM_spec) ; make ; cd tmpEN ; latex OpenXM; latex OpenXM ; $(LATEX2HTML) OpenXM ) |
-(cd $(OpenXM_spec) ; cd tmpJP ; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM ) |
-(cd $(OpenXM_spec) ; cd tmpJA; platex OpenXM; platex OpenXM ; $(LATEX2HTML) OpenXM ) |
-(cd $(OpenXM_spec) ; cd tmpEG ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-en) |
-(cd $(OpenXM_spec) ; cd tmpEN ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-en) |
-(cd $(OpenXM_spec) ; cd tmpJP ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-ja) |
-(cd $(OpenXM_spec) ; cd tmpJA ; cp -rf OpenXM $(WEBKOBE1)/html/OpenXM-ja) |
|
|
## Under construction. |
## Under construction. |
namagize-html: copy-html |
namagize-html: copy-html |
-(cd $(WEBKOBE1)/html/OpenXM-ja ; rm -rf OpenXM-ja.index ; mkdir OpenXM-ja.index ) |
-(cd $(WEBKOBE1)/html/OpenXM-ja ; rm -rf OpenXM-ja.index ; mkdir OpenXM-ja.index ) |
-(cd $(WEBKOBE1)/html/OpenXM-ja/OpenXM-ja.index ; mknmz ../OpenXM-ja/OpenXM) |
-(cd $(WEBKOBE1)/html/OpenXM-ja/OpenXM-ja.index ; mknmz ../OpenXM-ja/OpenXM) |
|
|
|
usage: |
|
@echo "Targets are " |
|
@echo " install-web-kobe all-spec copy-doc copy-html" |
|
|
|
checkDir : |
|
if test ! -d ${WEBKOBE1} ; \ |
|
then \ |
|
mkdir ${WEBKOBE1} ; \ |
|
fi |
|
if test ! -d ${WEBKOBE1}/doc ; \ |
|
then \ |
|
mkdir ${WEBKOBE1}/doc ; \ |
|
fi \ |
|
|
|
|
install-web-kobe : checkDir $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/install-en.txt $(WEBKOBE1)/install-ja.txt $(WEBKOBE1)/ERRATA.html $(WEBKOBE1)/index-binary.html $(WEBKOBE1)/index-packages.html $(WEBKOBE1)/install-faq.txt $(WEBKOBE1)/OpenXM-FAQ.txt $(WEBKOBE1)/doc/index.html |
install-web-kobe : checkDir $(WEBKOBE)/index.html $(WEBKOBE)/issac2000.ps $(WEBKOBE1)/cmotag.h $(WEBKOBE1)/oxMessageTag.h $(WEBKOBE1)/smCommand.h $(WEBKOBE1)/install-en.txt $(WEBKOBE1)/install-ja.txt $(WEBKOBE1)/ERRATA.html $(WEBKOBE1)/index-binary.html $(WEBKOBE1)/index-packages.html $(WEBKOBE1)/install-faq.txt $(WEBKOBE1)/OpenXM-FAQ.txt $(WEBKOBE1)/doc/index.html |