Changeset 35238 for trunk/dvodist/configure.tcsh
- Timestamp:
- Mar 5, 2013, 2:34:10 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/dvodist/configure.tcsh (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvodist/configure.tcsh
r34748 r35238 11 11 set htdocs = "" 12 12 set rootdir = "" 13 set rootwww = "" 13 14 set dbhost = "" 14 15 set dbuser = "" … … 61 62 endif 62 63 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; 63 72 case --dbhost* 64 73 if ("$1" == "--dbhost") then … … 153 162 echo "htdocs: $htdocs" 154 163 echo "rootdir: $rootdir" 164 echo "rootwww: $rootwww" 155 165 # echo "dbhost: $dbhost" 156 166 # echo "dbuser: $dbuser" … … 161 171 if ("$htdocs" == "") goto usage 162 172 if ("$rootdir" == "") goto usage 173 if ("$rootwww" == "") goto usage 163 174 164 175 # unless we need a db interface, skip this … … 197 208 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1 198 209 cat tmp.1 | sed "s|@ROOTDIR@|$rootdir|" > tmp.2 199 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > Makefile 210 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > tmp.1 211 cat tmp.1 | sed "s|@ROOTWWW@|$rootwww|" > Makefile 200 212 rm -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 216 chmod +x scripts/mkindex.sizes.sh 201 217 202 218 ## # convert raw/site.php.in to raw/site.php
Note:
See TracChangeset
for help on using the changeset viewer.
