*** empty log message ***
authorhanda <handa>
Mon, 14 Jul 2003 23:07:11 +0000 (23:07 +0000)
committerhanda <handa>
Mon, 14 Jul 2003 23:07:11 +0000 (23:07 +0000)
Makefile.am
README
utils/dvips.sh [new file with mode: 0755]
utils/latex.sh

index 6569044..884fdfa 100644 (file)
@@ -14,7 +14,6 @@ SRCFILES = $(shell echo @M17NLIB@/src/*.[ch] @M17NLIB@/example/README.txt)
 PROJECT_NAME_EN = "The M17N Library"
 PROJECT_NAME_JA = "M17N Â¿¸À¸ì¥é¥¤¥Ö¥é¥ê"
 PROJECT_VERSION = @PACKAGE_VERSION@
-M17NLIB = @M17NLIB@
 
 DOXYGEN = doxygen
 
@@ -112,15 +111,15 @@ doxyfile-man.usr: doxyfile-man
 %/latex/m17n-lib.tex: %/latex/refman.tex utils/refman-filter.sed
        sed -f utils/refman-filter.sed < $< > $@
 
-%/latex/m17n-lib.dvi: %/latex/m17n-lib.tex
-       sed -f utils/refman-filter.sed < $< > $@
+%/latex/m17n-lib.dvi: %/latex/m17n-lib.tex data-%/m17n-lib.sty utils/latex.sh
+       utils/latex.sh `dirname $@` latex
 
-%/latex/m17n-lib.ps: %/latex/m17n-lib.tex data-%/m17n-lib.sty utils/latex.sh
-       utils/latex.sh `dirname $@` platex
-       emacs -batch -q -l utils/mokuji.el -f write-mokuji $@
+%/latex/m17n-lib.ps: %/latex/m17n-lib.dvi utils/dvips.sh
+       utils/dvips.sh `dirname $@` dvips
+#      emacs -batch -q -l utils/mokuji.el -f write-mokuji $@
 
 %/latex/m17n-lib.pdf: %/latex/m17n-lib.tex data-%/m17n-lib.sty utils/latex.sh
-       utils/latex.sh `dirname $@ `pdflatex
+       utils/latex.sh `dirname $@` pdflatex
 
 %/man/man3/m17nIntro.3m: doxyfile-man.% ${SRCFILES} utils/%_filter.rb
        rm -rf `dirname $@`
@@ -140,7 +139,7 @@ usr/man3m/%.3m: usr/man/man3/%.3m sample.c utils/mkman.rb
        ruby utils/mkman.rb usr
        rm -rf doxytemp sample
 
-man/ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb 
+ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb 
        -${DOXYGEN} -g doxytemp
        echo "INPUT = sample.c" >> doxytemp
        echo "GENERATE_LATEX = NO" >> doxytemp
@@ -149,20 +148,11 @@ man/ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb
        echo "MAN_OUTPUT = sample" >> doxytemp
        echo "OPTIMIZE_OUTPUT_FOR_C  = yes" >> doxytemp
        ${DOXYGEN} doxytemp
-       [ -d "man/ja/man3m" ] || mkdir -p man/ja/man3m
-       rm -rf man/index.*
+       [ -d "ja/man3m" ] || mkdir -p ja/man3m
+       rm -rf ja/man3m/index.*
        ruby utils/mkman.rb ja
        rm -rf doxytemp sample
 
-CLEANFILES = doxyfile doxyfile-*.* m17n.tag warning \
-       */html/index.html */latex/refman.*
-
-DISTCLEANFILES = doxyfile *~
-
-DISTFILES = usr/html usr/man3m usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps
-
-pack: latex/m17n-lib.ps html/index.html man/man3m/m17nIntro.3m dist
-
-.PRECIOUS: %/latex/m17n-lib.tex
+EXTRA_DIST = usr/html usr/man3m usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps
 
 endif
diff --git a/README b/README
index 1ab58c9..f508514 100644 (file)
--- a/README
+++ b/README
@@ -1,8 +1,19 @@
-This directory tree holds version 0.9 of the documentation of the m17n library.
+This directory tree holds version 0.9 of the m17n library documentation.
 
-   Copyright (C) 2003
-     National Institute of Advanced Industrial Science and Technology (AIST)
-     Registration Number H15PRO112
+Copyright (C) 2003
+  National Institute of Advanced Industrial Science and Technology (AIST)
+  Registration Number H15PRO112
+See the end for copying conditions.
+
+
+
+
+----------------------------------------------------------------------
+Copyright information
+
+Copyright (C) 2003
+  National Institute of Advanced Industrial Science and Technology (AIST)
+  Registration Number H15PRO112
 
 This file is part of the m17n library documentation, a sub-part of the
 m17n library.
diff --git a/utils/dvips.sh b/utils/dvips.sh
new file mode 100755 (executable)
index 0000000..aa608e5
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+# $1: target directory (usr/latex, ja/latex, or dev/latex)
+# $2: dvips commnad (usually dvips)
+
+umask 002
+USR_JA_DEV=`dirname $1`
+export TEXINPUTS
+cd $1
+DVIPS=$2
+${DVIPS} m17n-lib.dvi
+
index 1da532a..70b6459 100755 (executable)
@@ -8,13 +8,9 @@ TEXINPUTS=`pwd`/styles:`pwd`/data-${USR_JA_DEV}:.:
 export TEXINPUTS
 cd $1
 LATEX=$2
-PAPER='-t a4'
 ${LATEX} m17n-lib.tex
 if [ "${USR_JA_DEV}" = "ja" ] ; then
   nkf -e < m17n-lib.idx > temp.idx; mv temp.idx m17n-lib.idx
 fi
 makeindex m17n-lib.idx
 ${LATEX} m17n-lib.tex
-if [ "$LATEX" != "pdflatex" ] ; then
-  dvips ${PAPER} -o m17n-lib.ps m17n-lib.dvi
-fi