Added support for detecting SSE4.1, SSE4.2, SSE5. Webpage changes.
[runtime.git] / distdir / pre-dist-runtime
1 #!/bin/sh
2
3 distribution=$1
4 dist_version=$2
5 package=$3
6 distdir=$4
7 release=$5
8
9 if test -z $release; then
10   release="0.fc8"
11 fi
12
13 sed -e "s/SILC_VERSION/$dist_version/" -e "s/SILC_RELEASE/$release/" \
14   srt.spec.in > srt.spec
15
16 # First configure with debug and stacktrace and run all tests
17 ./configure --enable-debug --enable-stack-trace
18 make clean
19 make -j4
20 make check -j4
21
22 # Then actual configuration and making
23 ./configure
24 make clean
25 make -j4
26 make check -j4
27
28 cd doc
29 make toolkit-ref-html
30 cd ..
31 cp ChangeLog doc/runtime/ChangeLog