IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 28, 2006, 1:32:04 PM (20 years ago)
Author:
eugene
Message:

updating psbuild process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r8867 r9031  
    3333set version = $args[1]
    3434set group   = $args[2]
    35 set tagsets = psconfig/tagsets/$group
     35set tagsets = tagsets/$group
    3636
    3737if (! -e $tagsets) then
     
    4040endif
    4141
    42 psconfig $version
     42source psconfig.sh $version
    4343
    4444set psopts = ""
     
    5050 set tag = $name[2]
    5151
    52  cd $dir
     52 set cwd = `pwd`
     53 cd ../$dir
    5354 
     55 echo ""
     56 echo "***** building $name ($target) *****"
     57 pwd
     58
    5459 if ($update) then
    5560  switch ($tag)
     
    7580 if (-e Build.PL) then
    7681    echo $PERL5LIB
     82    alias psperlbuild
    7783    psperlbuild
    7884    # perl Build.PL --install_path script=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3
     
    8894 endif
    8995
     96 if ($rebuild && $clean) then
     97   if (-e configure) rm -f Makefile
     98   if (-e configure.ac && -e autogen.sh) rm -f configure
     99 endif
     100
    90101 if (! -e Makefile) set rebuild = 1
    91102
    92103 if ($rebuild && ! -e configure && -e autogen.sh) then
     104    echo psautogen $psopts
    93105    psautogen $psopts
    94106    if ($status) goto failure;
     
    96108
    97109 if ($rebuild && -e configure) then
     110    echo psconfigure $psopts
    98111    psconfigure $psopts
    99112    if ($status) goto failure;
     
    103116
    104117 if ($clean) then
     118    echo make clean
    105119    make clean
    106120    if ($status) goto failure;
     
    114128
    115129 success:
    116  cd ..
     130 cd $cwd
    117131end
    118132
Note: See TracChangeset for help on using the changeset viewer.