Ignore:
Timestamp:
2010-10-12T12:08:52+13:00 (13 years ago)
Author:
sjm84
Message:

Added the ability to change the dist name (e.g. linux, windows, java etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/cascade-make/trunk/lib/cascade-lib.bash

    r23095 r23104  
    9393toplevel_make_dist()
    9494{
     95  local distos=$1 ; shift
    9596  local dirname=`basename $exthome`
    9697
    97   local checklist="setup.bash setup.bat perllib $GSDLOS lib"   
     98  local checklist="$*"
    9899  local distlist=""
    99100
     
    106107  pushd ..
    107108   
    108   tar cvzf $dirname-$GSDLOS.tar.gz $distlist
    109   mv $dirname-$GSDLOS.tar.gz $dirname/.
     109  tar cvzf $dirname-$distos.tar.gz $distlist
     110  mv $dirname-$distos.tar.gz $dirname/.
    110111
    111112  popd
     113}
     114
     115default_toplevel_make_dist()
     116{
     117  local distos=$1 ; shift
     118  local dirname=`basename $exthome`
     119
     120  local checklist="setup.bash setup.bat perllib $GSDLOS lib $*"
     121  toplevel_make_dist $distos $checklist
    112122}
    113123
Note: See TracChangeset for help on using the changeset viewer.