*** empty log message ***
[m17n/m17n-docs.git] / Makefile.am
index 735afdc..243e47d 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile.am -- Makefile for the m17n library documentation.
-# Copyright (C) 2003
+# Copyright (C) 2003, 2004, 2005, 2006
 #   National Institute of Advanced Industrial Science and Technology (AIST)
 #   Registration Number H15PRO112
 
@@ -92,7 +92,7 @@ SRCALL = \
        mainpage.txt \
        ${MAN3} \
        data/m17n-config.txt data/m17n-db.txt data/exprog.txt \
-       data/dbformat.txt data/dbdata.txt fdl.txt
+       data/dbformat.txt data/dbdata.txt data/dbtutorial.txt fdl.txt
 
 DBDATA = $(shell echo @M17NDB@/*.{dir,mim,flt,fst,tbl})
 DBIMAGE = $(shell echo images/*.png images/*.eps)
@@ -231,7 +231,10 @@ data/dbdata.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.dir utils/dbdata.awk utils/db
        @AWK@ -f utils/dbdata.awk @M17NDB@/mdb.dir > $@
 
 data/dbformat.txt: ${DBFORMAT} utils/dbformat.sh
-       utils/dbformat.sh ${DBFORMAT}/*.txt > $@
+       utils/dbformat.sh ${DBFORMAT} > $@
+
+data/dbtutorial.txt: ${DBFORMAT} utils/dbtutorial.sh
+       utils/dbtutorial.sh ${DBFORMAT} > $@
 
 data/m17n-config.txt: @M17NLIB@/m17n-config.in
        sed -n -e '/\/\*\*\*/,/\*\// p' < $< > $@
@@ -335,9 +338,9 @@ release: dist
        cd usr/html; for f in *; do \
          case $$f in *8c*);; *8h*);; *8txt*);; dirs.html);; dir_*);; files.html);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \
        done
-       [ -d ${WEBDIR}-ja/m17n-docs ] || mkdir ${WEBDIR}-ja/m17n-docs
+       [ -d ${WEBDIR}-ja2/m17n-docs ] || mkdir ${WEBDIR}-ja2/m17n-docs
        cd ja/html; for f in *; do \
-         case $$f in *8c*);; *8h*);; *8txt*);; dirs.html);; dir_*);; files.html);; *) cp $$f ${WEBDIR}-ja/m17n-docs;; esac; \
+         case $$f in *8c*);; *8h*);; *8txt*);; dirs.html);; dir_*);; files.html);; *) cp $$f ${WEBDIR}-ja2/m17n-docs;; esac; \
        done
        cp ${distdir}.tar.gz ${WEBDIR}/download