Configurable glpk prefix in ./scripts/bootstrap.sh and ...
unneeded solver backends are explicitely switched off with --without-*
3 # This file is a part of LEMON, a generic C++ optimization library.
5 # Copyright (C) 2003-2009
6 # Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 # (Egervary Research Group on Combinatorial Optimization, EGRES).
9 # Permission to use, modify and distribute this software is granted
10 # provided that this copyright notice appears in all copies. For
11 # precise terms see the accompanying LICENSE file.
13 # This software is provided "AS IS" with no warranty of any kind,
14 # express or implied, and with no claim as to its suitability for any
20 echo "Usage: $0 release-id"
23 export LEMON_VERSION=$1
26 echo '*****************************************************************'
27 echo ' Start making release tarballs for version '${LEMON_VERSION}
28 echo '*****************************************************************'
36 tar xf lemon-${LEMON_VERSION}.tar.gz
37 zip -r lemon-${LEMON_VERSION}.zip lemon-${LEMON_VERSION}
38 mv lemon-${LEMON_VERSION}/doc/html lemon-doc-${LEMON_VERSION}
39 tar czf lemon-doc-${LEMON_VERSION}.tar.gz lemon-doc-${LEMON_VERSION}
40 zip -r lemon-doc-${LEMON_VERSION}.zip lemon-doc-${LEMON_VERSION}
41 tar czf lemon-nodoc-${LEMON_VERSION}.tar.gz lemon-${LEMON_VERSION}
42 zip -r lemon-nodoc-${LEMON_VERSION}.zip lemon-${LEMON_VERSION}
43 hg tag -m 'LEMON '${LEMON_VERSION}' released ('$(hg par --template="{node|short}")' tagged as r'${LEMON_VERSION}')' r${LEMON_VERSION}
45 rm -rf lemon-${LEMON_VERSION} lemon-doc-${LEMON_VERSION}
47 echo '*****************************************************************'
48 echo ' Release '${LEMON_VERSION}' has been created'
49 echo '*****************************************************************'