Index: trunk/dvodist/configure.tcsh
===================================================================
--- trunk/dvodist/configure.tcsh	(revision 34748)
+++ trunk/dvodist/configure.tcsh	(revision 35238)
@@ -11,4 +11,5 @@
 set htdocs  = ""
 set rootdir = ""
+set rootwww = ""
 set dbhost  = ""
 set dbuser  = ""
@@ -61,4 +62,12 @@
    endif
    breaksw;
+  case --rootwww*
+   if ("$1" == "--rootwww") then
+     shift
+     set rootwww = $1
+   else
+     set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'`
+   endif
+   breaksw;
   case --dbhost*
    if ("$1" == "--dbhost") then
@@ -153,4 +162,5 @@
 echo "htdocs:  $htdocs"
 echo "rootdir: $rootdir"
+echo "rootwww: $rootwww"
 # echo "dbhost:  $dbhost"
 # echo "dbuser:  $dbuser"
@@ -161,4 +171,5 @@
 if ("$htdocs" == "") goto usage
 if ("$rootdir" == "") goto usage
+if ("$rootwww" == "") goto usage
 
 # unless we need a db interface, skip this
@@ -197,6 +208,11 @@
 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1
 cat tmp.1       | sed "s|@ROOTDIR@|$rootdir|" > tmp.2
-cat tmp.2       | sed "s|@BINDIR@|$bindir|" > Makefile
+cat tmp.2       | sed "s|@BINDIR@|$bindir|" > tmp.1
+cat tmp.1       | sed "s|@ROOTWWW@|$rootwww|" > Makefile
 rm -f tmp.1 tmp.2
+
+# convert mkindex.sizes.sh.in to mkindex.sizes.sh
+#cat scripts/mkindex.sizes.sh.in | sed "s|@HTDOCS@|$htdocs|" > scripts/mkindex.sizes.sh
+chmod +x scripts/mkindex.sizes.sh
 
 ## # convert raw/site.php.in to raw/site.php
