IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2021, 2:53:32 PM (5 years ago)
Author:
eugene
Message:

ippMonitor scripts are now installed in a distinct location so they can be modified independently of the IPP code for both development and operations installations; disabled the "cleanTmpDirectory" option from the website

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/configure.tcsh

    r41126 r41730  
    1616set prefix  = ""
    1717set bindir  = ""
     18set wwwbin  = ""
    1819set libdir  = ""
    1920set datadir = ""
     
    9293   endif
    9394   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;
    94103  case --libdir*
    95104   if ("$1" == "--libdir") then
     
    139148echo "prefix: $prefix"
    140149echo "bindir: $bindir"
     150echo "wwwbin: $wwwbin"
    141151echo "libdir: $libdir"
    142152echo "datadir:$datadir"
     
    160170endif
    161171
     172# BINDIR holds the output binary files
     173if ("$wwwbin" == "") then
     174  if ("$prefix" == "") goto usage
     175  set wwwbin = $prefix/wwwbin
     176endif
     177
    162178# LIBDIR set the install lib directory
    163179if ("$libdir" == "") then
     
    182198# convert Makefile.in to Makefile:
    183199if (-e Makefile) mv -f Makefile Makefile~
    184 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1
     200cat Makefile.in | sed "s|@HTDOCS@|$htdocs|"    > tmp.1
    185201cat tmp.1       | sed "s|@HOST2@|$hostname2|"  > tmp.2
    186 cat tmp.2       | sed "s|@BINDIR@|$bindir|" > Makefile
    187 rm -f tmp.2
     202cat tmp.2       | sed "s|@BINDIR@|$bindir|"    > tmp.1
     203cat tmp.1       | sed "s|@WWWBIN@|$wwwbin|"    > Makefile
     204rm -f tmp.1 tmp.2
    188205
    189206# convert raw/site.php.in to raw/site.php
    190207if (-e raw/site.php) mv -f raw/site.php raw/site.php~
    191 cat raw/site.php.in | sed "s|@BINDIR@|$bindir|"  > tmp.2
     208cat raw/site.php.in | sed "s|@BINDIR@|$bindir|"  > tmp.1
     209cat tmp.1           | sed "s|@WWWBIN@|$wwwbin|"  > tmp.2
    192210cat tmp.2           | sed "s|@LIBDIR@|$libdir|"  > tmp.1
    193211cat tmp.1           | sed "s|@PERLLIB@|$libdir|" > tmp.2
     
    232250  --useMDB2              use MDB2 interface instead of DB
    233251
    234   --bindir=DIR           user executables [PREFIX/bin/$ARCH]
     252  --bindir=DIR           IPP main executables [PREFIX/bin]
     253  --wwwbin=DIR           ippMonitor executables [PREFIX/wwwbin]
    235254  --libdir=DIR           object code libraries [PREFIX/lib/$ARCH]
    236255  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
Note: See TracChangeset for help on using the changeset viewer.