Changeset 41730 for trunk/ippMonitor/configure.tcsh
- Timestamp:
- Jul 29, 2021, 2:53:32 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/configure.tcsh (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/configure.tcsh
r41126 r41730 16 16 set prefix = "" 17 17 set bindir = "" 18 set wwwbin = "" 18 19 set libdir = "" 19 20 set datadir = "" … … 92 93 endif 93 94 breaksw; 95 case --wwwbin* 96 if ("$1" == "--wwwbin") then 97 shift 98 set wwwbin = $1 99 else 100 set wwwbin = `echo $1 | tr = ' ' | awk '{print $2}'` 101 endif 102 breaksw; 94 103 case --libdir* 95 104 if ("$1" == "--libdir") then … … 139 148 echo "prefix: $prefix" 140 149 echo "bindir: $bindir" 150 echo "wwwbin: $wwwbin" 141 151 echo "libdir: $libdir" 142 152 echo "datadir:$datadir" … … 160 170 endif 161 171 172 # BINDIR holds the output binary files 173 if ("$wwwbin" == "") then 174 if ("$prefix" == "") goto usage 175 set wwwbin = $prefix/wwwbin 176 endif 177 162 178 # LIBDIR set the install lib directory 163 179 if ("$libdir" == "") then … … 182 198 # convert Makefile.in to Makefile: 183 199 if (-e Makefile) mv -f Makefile Makefile~ 184 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1200 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1 185 201 cat tmp.1 | sed "s|@HOST2@|$hostname2|" > tmp.2 186 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > Makefile 187 rm -f tmp.2 202 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > tmp.1 203 cat tmp.1 | sed "s|@WWWBIN@|$wwwbin|" > Makefile 204 rm -f tmp.1 tmp.2 188 205 189 206 # convert raw/site.php.in to raw/site.php 190 207 if (-e raw/site.php) mv -f raw/site.php raw/site.php~ 191 cat raw/site.php.in | sed "s|@BINDIR@|$bindir|" > tmp.2 208 cat raw/site.php.in | sed "s|@BINDIR@|$bindir|" > tmp.1 209 cat tmp.1 | sed "s|@WWWBIN@|$wwwbin|" > tmp.2 192 210 cat tmp.2 | sed "s|@LIBDIR@|$libdir|" > tmp.1 193 211 cat tmp.1 | sed "s|@PERLLIB@|$libdir|" > tmp.2 … … 232 250 --useMDB2 use MDB2 interface instead of DB 233 251 234 --bindir=DIR user executables [PREFIX/bin/$ARCH] 252 --bindir=DIR IPP main executables [PREFIX/bin] 253 --wwwbin=DIR ippMonitor executables [PREFIX/wwwbin] 235 254 --libdir=DIR object code libraries [PREFIX/lib/$ARCH] 236 255 --datadir=DIR read-only architecture-independent data [PREFIX/share]
Note:
See TracChangeset
for help on using the changeset viewer.
