IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2013, 2:34:10 PM (13 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20130207

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvodist/configure.tcsh

    r34748 r35238  
    1111set htdocs  = ""
    1212set rootdir = ""
     13set rootwww = ""
    1314set dbhost  = ""
    1415set dbuser  = ""
     
    6162   endif
    6263   breaksw;
     64  case --rootwww*
     65   if ("$1" == "--rootwww") then
     66     shift
     67     set rootwww = $1
     68   else
     69     set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'`
     70   endif
     71   breaksw;
    6372  case --dbhost*
    6473   if ("$1" == "--dbhost") then
     
    153162echo "htdocs:  $htdocs"
    154163echo "rootdir: $rootdir"
     164echo "rootwww: $rootwww"
    155165# echo "dbhost:  $dbhost"
    156166# echo "dbuser:  $dbuser"
     
    161171if ("$htdocs" == "") goto usage
    162172if ("$rootdir" == "") goto usage
     173if ("$rootwww" == "") goto usage
    163174
    164175# unless we need a db interface, skip this
     
    197208cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1
    198209cat tmp.1       | sed "s|@ROOTDIR@|$rootdir|" > tmp.2
    199 cat tmp.2       | sed "s|@BINDIR@|$bindir|" > Makefile
     210cat tmp.2       | sed "s|@BINDIR@|$bindir|" > tmp.1
     211cat tmp.1       | sed "s|@ROOTWWW@|$rootwww|" > Makefile
    200212rm -f tmp.1 tmp.2
     213
     214# convert mkindex.sizes.sh.in to mkindex.sizes.sh
     215#cat scripts/mkindex.sizes.sh.in | sed "s|@HTDOCS@|$htdocs|" > scripts/mkindex.sizes.sh
     216chmod +x scripts/mkindex.sizes.sh
    201217
    202218## # convert raw/site.php.in to raw/site.php
Note: See TracChangeset for help on using the changeset viewer.