Changeset 77


Ignore:
Timestamp:
Feb 28, 2010 10:32:03 AM (11 years ago)
Author:
bradbell
Message:

[ckbs/trunk] Move ckbs.omh so file names are releative to trunk directory.

ckbs.omh: move to trunk directory.
ckbs.omh: move from omh subdirectory, OMhelp path commands no longer needed.
copy_doc.sh: change omh/ckbs.omh to ckbs.omh.
new_stable.sh: change omh/ckbs.omh to ckbs.omh.
build_doc.sh: change omh/ckbs.omh to ckbs.omh.

Location:
projects/ckbs/trunk
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • projects/ckbs/trunk/build_doc.sh

    r69 r77  
    5858        for arg2 in -noframe -printable
    5959        do
    60                 echo "omhelp omh/ckbs.omh $arg1 $arg2 -debug >& omhelp.log"
    61                 if ! $cmd ../omh/ckbs.omh $arg1 $arg2 -debug >& ../omhelp.log
     60                echo "omhelp ckbs.omh $arg1 $arg2 -debug >& omhelp.log"
     61                if ! $cmd ../ckbs.omh $arg1 $arg2 -debug >& ../omhelp.log
    6262                then
    6363                        echo "build_doc.sh: omhelp error, see omhelp.log"
  • projects/ckbs/trunk/ckbs.omh

    r69 r77  
    2222        xml
    2323$$
    24 
    25 $path%..%.m%$$
    26 $path%..%.omh%$$
    2724
    2825$latex \newcommand{\T}{{\rm T}}$$
  • projects/ckbs/trunk/copy_doc.sh

    r69 r77  
    1212        version=`date +%F | sed -e 's|-||g' -e 's|^|0.|'`
    1313        #
    14         sed -i omh/ckbs.omh -e "s/ckbs-[0-9.]\{10\}/ckbs-$version/"
     14        sed -i ckbs.omh -e "s/ckbs-[0-9.]\{10\}/ckbs-$version/"
    1515fi
    1616#
  • projects/ckbs/trunk/new_stable.sh

    r74 r77  
    66# License: GNU General Public License Version 2
    77# ----------------------------------------------------------------------------
    8 echo "Current revision number = "
    9 rev=`svn info --revision HEAD | grep '^Revision:' | sed -e 's|^Revision: *||'`
    10 echo "$rev"
     8echo "Getting current revision number"
     9rev_trunk=`svn info --revision HEAD | \
     10        grep '^Revision:' | sed -e 's|^Revision: *||'`
     11rev_stable=`expr $rev_trunk + 1`
     12rev_release=`expr $rev_trunk + 2`
     13echo "rev_trunk=$rev_trunk, rev_stable=$rev_stable, rev_release=$rev_release"
     14#
    1115stable_version=`date +%F |sed -e 's/-//g' -e 's|^|0.|'`
    1216repository="https://projects.coin-or.org/svn/CoinBazaar/projects/ckbs"
     
    2226        exit 1
    2327fi
    24 doc_version=`grep '$section' omh/ckbs.omh | \
     28doc_version=`grep '$section' ckbs.omh | \
    2529        sed -e 's|.*ckbs-\([0-9.]\{10\}\).*|\1|'`
    2630if [ "$doc_version" != "$stable_version" ]
     
    3438# create the new stable version
    3539msg="[ckbs/stable] Create ckbs/stable/$stable_version
    36 from ckbs/trunk at revision $rev."
     40from ckbs/trunk at revision $rev_stable."
    3741echo "svn copy $rep_trunk $rep_stable -m \"$msg\""
    3842if ! svn copy  $rep_trunk $rep_stable -m "$msg"
     
    4448# create the new release version
    4549msg="[ckbs/releases] Create ckbs/releases/$stable_version.0
    46 from ckbs/stable/$stable_version at revision $rev."
     50from ckbs/stable/$stable_version at revision $rev_release."
    4751echo "svn copy $rep_stable $rep_release -m \"$msg\""
    4852if ! svn copy  $rep_stable $rep_release -m "$msg"
Note: See TracChangeset for help on using the changeset viewer.