Index: trunk/dvodist/scripts/copy.makefile
===================================================================
--- trunk/dvodist/scripts/copy.makefile	(revision 39557)
+++ trunk/dvodist/scripts/copy.makefile	(revision 39557)
@@ -0,0 +1,9 @@
+#!/bin/csh -f
+
+if ($#argv != 2) then
+  echo "USAGE: copy.makefile (makename) (dirname)"
+  echo "   eg: copy.makefile (3pi-pv0-20120509) (3pi.pv0.20120509)"
+  exit 2
+endif
+
+cat Makefile.in | sed s/MAKENAME/$1/ | sed s/DIRNAME/$2/ > $2/Makefile
Index: trunk/dvodist/scripts/fix.pv3
===================================================================
--- trunk/dvodist/scripts/fix.pv3	(revision 39557)
+++ trunk/dvodist/scripts/fix.pv3	(revision 39557)
@@ -0,0 +1,17 @@
+#/bin/csh -fh
+
+if ($#argv != 1) then
+ echo "USAGE: fix.pv3 (file)"
+ exit 2
+endif
+
+sed s/pv3.3pi/3pi.pv3/ $1 > tmp
+if ($status) exit 1
+
+mv -f $1 `mktemp`
+if ($status) exit 1
+
+mv tmp $1
+if ($status) exit 1
+
+exit 0
Index: trunk/dvodist/scripts/fix.pv3.v2
===================================================================
--- trunk/dvodist/scripts/fix.pv3.v2	(revision 39557)
+++ trunk/dvodist/scripts/fix.pv3.v2	(revision 39557)
@@ -0,0 +1,17 @@
+#/bin/csh -fh
+
+if ($#argv != 1) then
+ echo "USAGE: fix.pv3 (file)"
+ exit 2
+endif
+
+sed s/PV3/PV0/ $1 > tmp
+if ($status) exit 1
+
+mv -f $1 `mktemp`
+if ($status) exit 1
+
+mv tmp $1
+if ($status) exit 1
+
+exit 0
Index: trunk/dvodist/scripts/mkdist.3pi.pv0.20120509.sh
===================================================================
--- trunk/dvodist/scripts/mkdist.3pi.pv0.20120509.sh	(revision 39553)
+++ trunk/dvodist/scripts/mkdist.3pi.pv0.20120509.sh	(revision 39557)
@@ -16,5 +16,5 @@
 
 # top-level files
-if (1) then
+if (0) then
   mkdir -p $cattgt
   foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
@@ -29,5 +29,6 @@
 
 # link all files from all hostdirs into all DEC dirs
-foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
+foreach hostdir (`grep -v \# $cattgt/HostTable.dat | grep ipp0\[345\] | awk '{print $3}'`)
+# foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
   echo $hostdir
   foreach dir ($nlist $slist)
Index: trunk/dvodist/scripts/run.mkindex
===================================================================
--- trunk/dvodist/scripts/run.mkindex	(revision 39557)
+++ trunk/dvodist/scripts/run.mkindex	(revision 39557)
@@ -0,0 +1,1 @@
+../scripts/mkindex.dvo.pl /export/ippc32.0/www/dvodist/www-root/3pi.pv0.20120606 DVO Release PV3 3pi 20120606 dvodist > & log.3pi.pv0.20120606.mkindex &
