devtool.conf

Thu, 06 Aug 2009 13:21:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 06 Aug 2009 13:21:30 +0200
changeset 15
0e0eb7c91312
parent 3
c1941114ca88
permissions
-rw-r--r--

Remove seemingly declarations unnecessary according to Qt 4.5.2 headers.

michael@1 1 ##
michael@1 2 ## devtool.conf -- Development Tool Configuration
michael@1 3 ##
michael@1 4
michael@1 5 %autogen
michael@3 6 @autogen shtool 2.0.7 "2.0.*" echo fixperm install mkdir tarball version
michael@3 7 @autogen autoconf 2.63 "2.6[0-9]*"
michael@1 8
michael@1 9 %autoclean
michael@1 10 @autoclean shtool
michael@1 11 @autoclean autoconf
michael@1 12
michael@1 13 %configure
michael@1 14 ./configure \
michael@1 15 --prefix=/tmp/as_gui/ \
michael@1 16 --datadir=/tmp/as_gui/share/ \
michael@1 17 --with-mico \
michael@1 18 --with-esoap \
michael@1 19 "$@"
michael@1 20
michael@1 21 %release
michael@1 22 ./devtool dist
michael@1 23 ./devtool upload
michael@1 24
michael@1 25 %version
michael@1 26 ./shtool version -l c -n "OSSP as-gui" -p "asgui_" -e as_version.cpp
michael@1 27 V=`./shtool version -l c -d long as_version.cpp`
michael@1 28 sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
michael@1 29 mv README.n README
michael@1 30
michael@1 31 %tag
michael@1 32 V=`./shtool version -l c -d short as_version.cpp | sed -e 's;\.;_;g'`
michael@1 33 echo "+++ tagging CVS sources as ASGUI_${V}"
michael@1 34 cvs tag ASGUI_${V}
michael@1 35
michael@1 36 %dist
michael@1 37 echo "+++ cleaning"
michael@1 38 rm -f as-gui-*.tar.gz
michael@1 39 ./devtool autoclean
michael@1 40 echo "+++ generating"
michael@1 41 ./devtool autogen
michael@1 42 echo "+++ configuring"
michael@1 43 ./devtool configure
michael@1 44 echo "+++ building"
michael@1 45 make clean all -j4
michael@1 46 echo "+++ cleaning"
michael@1 47 make distclean >/dev/null 2>&1
michael@1 48 echo "+++ fixing"
michael@1 49 ./shtool fixperm -v .
michael@6 50 echo "Please find . -exec grep myusername {}"
michael@1 51 echo "+++ rolling"
michael@1 52 V=`./shtool version -l c -d short as_version.cpp`
michael@1 53 ./shtool tarball -o as-gui-${V}.tar.gz -d as-gui-${V} \
michael@1 54 -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak' \
michael@1 55 -e 'autom4te\.cache,as_stub.cpp,as_stub.h,as_scrap,as_gfx/*.png' \
michael@1 56 -c 'gzip --best' .
michael@1 57 ls -l as-gui-${V}.tar.gz
michael@1 58 echo "+++ testing"
michael@1 59 gunzip <as-gui-${V}.tar.gz | tar tvf - | head -10
michael@1 60 echo "[...]"
michael@1 61 gunzip <as-gui-${V}.tar.gz | tar tvf - | tail -10
michael@1 62
michael@1 63 %upload
michael@3 64 echo "+++ copying to ftp://ftp.sourcehost.tld/source/"
michael@1 65 V=`./shtool version -l c -d short as_version.cpp`
michael@3 66 scp as-gui-${V}.tar.gz user@dev.host.tld:/z/as/source/

mercurial