IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11267


Ignore:
Timestamp:
Jan 24, 2007, 12:15:23 PM (19 years ago)
Author:
eugene
Message:

added MANPATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.sh

    r11058 r11267  
    133133endif
    134134
     135set mandir  = {$PSCONFDIR}/man
     136set newpath = ""
     137set pathlist = `echo $MANPATH | tr ':' '\n'`
     138foreach name ($pathlist)
     139  echo $name | grep $PSCONFDIR > /dev/null
     140  if ($status == 0) continue
     141  if ($newpath == "") then
     142    set newpath = {$name}:
     143  else
     144    set newpath = {$newpath}{$name}:
     145  endif
     146end
     147if ("$PSCONFIG" == "none") then
     148  if ("$newpath" == "") then
     149    unsetenv MANPATH
     150  else
     151    setenv MANPATH {$newpath}
     152  endif
     153else
     154  if ("$newpath" == "") then
     155    setenv MANPATH {$mandir}:
     156  else
     157    setenv MANPATH {$mandir}:{$newpath}
     158  endif
     159endif
     160
    135161set libdir  = {$PSCONFDIR}/{$PSCONFIG}/lib
    136162set newpath = ""
     
    216242else
    217243  alias  psconfigure configure --prefix={$PSCONFDIR}/{$PSCONFIG} --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man
    218   alias  psautogen autogen.sh --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man
     244  alias  psautogen autogen.sh --bindir=$bindir --libdir=$libdir --mandir=$mandir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share
    219245  alias  psperlbuild perl Build.PL --prefix {$PSCONFDIR}/{$PSCONFIG} --install_path script=$bindir --install_path arch=$bindir --install_path bin=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3
    220246endif
Note: See TracChangeset for help on using the changeset viewer.