3 # Determine the version of xuni
4 VERSION
="$(./version.sh)"
6 bin_files
="editor test src/test/test.so"
10 if [ ! -f "xuni-$VERSION-src.tar.gz" ]; then
11 echo make_src
>/dev
/null
16 if [ $force_reconf != "0" ]; then
17 .
/autotool.sh
&& make clean
&& make
22 #./makedistar.sh xuni-$VERSION src $(./dist_files.sh)
23 mv xuni-
$VERSION.
tar.gz xuni-
$VERSION-src.
tar.gz
28 cp xuni-
$VERSION-src.
tar.gz xuni-
$VERSION-lin64.
tar.gz
29 .
/makedistar.sh
--update xuni-
$VERSION lin64
$bin_files
35 if [ $force_reconf != "0" ]; then
41 cp xuni-
$VERSION-src.
tar.gz xuni-
$VERSION-lin32.
tar.gz
42 .
/makedistar.sh
--update xuni-
$VERSION lin32
$bin_files
46 win_bin_files
="editor.exe test.exe" # src/test/test.so
50 #make clean && echo SVNVERSION="$(./svnversion.sh)"
51 make clean
&& .
/winmake.sh
#SVNVERSION="$(./svnversion.sh)"
53 for dll
in dll
/*.dll
; do
57 cp xuni-
$VERSION-src.
tar.gz xuni-
$VERSION-win32.
tar.gz
58 .
/makedistar.sh
--update xuni-
$VERSION win32
$win_bin_files *.dll
64 doc_files
="$(svn list -R | grep doc | grep -v '/$') \
65 $(find doc/html -type f)"
67 .
/makedistar.sh
--create xuni-
$VERSION doc
$doc_files