Return to Makefile CVS log | Up to [local] / OpenXM / src / asir-doc |
version 1.7, 2000/09/23 07:53:22 | version 1.10, 2001/05/20 09:19:16 | ||
---|---|---|---|
|
|
||
# $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.6 2000/01/20 03:26:21 noro Exp $ | # $OpenXM: OpenXM/src/asir-doc/Makefile,v 1.9 2001/04/23 05:45:34 noro Exp $ | ||
WHICH=../../misc/which.pl | WHICH=../../misc/which.pl | ||
all: all-eg all-jp | all: all-eg all-jp | ||
install: install-eg install-jp | install: install-eg install-jp | ||
all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg | all-eg: texindex extract_man extract_func man-eg.dvi help-eg html-eg | ||
all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp | all-jp: texindex extract_man extract_func man-jp.dvi help-jp html-jp | ||
|
|
||
-tar cf - html-jp | ( cd ../../doc/asir2000; tar xf - ) | -tar cf - html-jp | ( cd ../../doc/asir2000; tar xf - ) | ||
-cp man-jp.dvi ../../doc/asir2000 | -cp man-jp.dvi ../../doc/asir2000 | ||
install-man-pages: | |||
-cp asir.1 ../../man/man1 | |||
configure: | configure: | ||
(cd jtexindex/C; ./configure; make clean) | (cd jtexindex/C; ./configure; make clean) | ||
|
|
||
-for i in ${SRCS}; do \ | -for i in ${SRCS}; do \ | ||
./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\ | ./extract_man EG $$i | sed -e "s/@fref/@ref/g" > tmpEGhtml/$$i;\ | ||
done | done | ||
man-jp.dvi: tmpJP | man-jp.dvi: tmpJP | ||
-rm man-jp.dvi | -rm man-jp.dvi | ||
-(cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi) | -(cd tmpJP; ptex man.texi; ../jtexindex/C/texindex man.??; ptex man.texi) | ||
|
|
||
-mkdir html-eg | -mkdir html-eg | ||
-(cd html-eg; texi2html -menu -split_node ../tmpEGhtml/man.texi) | -(cd html-eg; texi2html -menu -split_node ../tmpEGhtml/man.texi) | ||
html-win: html-jp gen_hh | |||
-rm -rf html-win | |||
-mkdir html-win | |||
(cd html-jp; for i in *; do nkf -s $$i > ../html-win/$$i; done) | |||
gen_hh html-win html-win | |||
html-win-eg: html-eg gen_hh | |||
-rm -rf html-win-eg | |||
-mkdir html-win-eg | |||
(cd html-eg; for i in *; do nkf -s $$i > ../html-win-eg/$$i; done) | |||
gen_hh html-win-eg html-win-eg | |||
extract_func: extract_func.c | extract_func: extract_func.c | ||
gcc -o extract_func extract_func.c | gcc -o extract_func extract_func.c | ||
extract_man: extract_man.c | extract_man: extract_man.c | ||
gcc -o extract_man extract_man.c | gcc -o extract_man extract_man.c | ||
gen_hh: html_tools/gen_hh.c | |||
gcc -o gen_hh html_tools/gen_hh.c | |||
targzuu: help-eg help-jp html-eg html-jp | targzuu: help-eg help-jp html-eg html-jp | ||
-tar cf - help-eg | gzip -9 | uuencode help-eg.tgz > help-eg.uu | -tar cf - help-eg | gzip -9 | uuencode help-eg.tgz > help-eg.uu | ||
-tar cf - help-jp | gzip -9 | uuencode help-jp.tgz > help-jp.uu | -tar cf - help-jp | gzip -9 | uuencode help-jp.tgz > help-jp.uu | ||
-tar cf - html-eg | gzip -9 | uuencode html-eg.tgz > html-eg.uu | -tar cf - html-eg | gzip -9 | uuencode html-eg.tgz > html-eg.uu | ||
-tar cf - html-jp | gzip -9 | uuencode html-jp.tgz > html-jp.uu | -tar cf - html-jp | gzip -9 | uuencode html-jp.tgz > html-jp.uu | ||
clean: | clean: | ||
(cd jtexindex/C; make clean) | (cd jtexindex/C; make clean) | ||
-rm -f man*.dvi man-jp.dvi extract_man extract_func | -rm -f man*.dvi man-jp.dvi extract_man extract_func gen_hh | ||
-rm -rf tmp* | -rm -rf tmp* | ||
-rm -rf help-* | -rm -rf help-* | ||
-rm -rf html-* | -rm -rf html-* |