Last change
on this file since 1078:115031ac8001 was
564:eda12d8ac953,
checked in by Akos Ladanyi <ladanyi@…>, 16 years ago
|
Add 'demo' make target for building the demo programs
|
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | set -e |
---|
4 | |
---|
5 | if [ $# = 0 ]; then |
---|
6 | echo "Usage: $0 release-id" |
---|
7 | exit 1 |
---|
8 | else |
---|
9 | export LEMON_VERSION=$1 |
---|
10 | fi |
---|
11 | |
---|
12 | echo '*****************************************************************' |
---|
13 | echo ' Start making release tarballs for version '${LEMON_VERSION} |
---|
14 | echo '*****************************************************************' |
---|
15 | |
---|
16 | autoreconf -vif |
---|
17 | ./configure |
---|
18 | |
---|
19 | make |
---|
20 | make html |
---|
21 | make distcheck |
---|
22 | tar xf lemon-${LEMON_VERSION}.tar.gz |
---|
23 | zip -r lemon-${LEMON_VERSION}.zip lemon-${LEMON_VERSION} |
---|
24 | mv lemon-${LEMON_VERSION}/doc/html lemon-doc-${LEMON_VERSION} |
---|
25 | tar czf lemon-doc-${LEMON_VERSION}.tar.gz lemon-doc-${LEMON_VERSION} |
---|
26 | zip -r lemon-doc-${LEMON_VERSION}.zip lemon-doc-${LEMON_VERSION} |
---|
27 | tar czf lemon-nodoc-${LEMON_VERSION}.tar.gz lemon-${LEMON_VERSION} |
---|
28 | zip -r lemon-nodoc-${LEMON_VERSION}.zip lemon-${LEMON_VERSION} |
---|
29 | hg tag -m 'LEMON '${LEMON_VERSION}' released ('$(hg par --template="{node|short}")' tagged as r'${LEMON_VERSION}')' r${LEMON_VERSION} |
---|
30 | |
---|
31 | rm -rf lemon-${LEMON_VERSION} lemon-doc-${LEMON_VERSION} |
---|
32 | |
---|
33 | echo '*****************************************************************' |
---|
34 | echo ' Release '${LEMON_VERSION}' has been created' |
---|
35 | echo '*****************************************************************' |
---|
Note: See
TracBrowser
for help on using the repository browser.