purple: add support for latest appstreamcli
[siplcs.git] / autogen.sh
blobfdc3d9d516adf0f81d7de4ad9f629284a40f6e33
1 #! /bin/sh
2 ###############################################################################
3 # Generate GITVERSION
4 ###############################################################################
5 _gitversion=$(git describe | grep -e -)
6 if [ -n "${_gitversion}" ]; then
7 _gitversion=$(echo ${_gitversion} | cut -d- -f3 | sed 's/^g//')
8 echo -n ${_gitversion} >GITVERSION
9 else
10 rm -f GITVERSION
13 ###############################################################################
14 # Set up build from git tree
15 ###############################################################################
16 set -e
18 # Set up initial NLS stuff...
19 autopoint --force
21 # ...now replace "autopoint" with "intltoolize" in full setup run
22 AUTOPOINT="intltoolize --copy --force --automake" \
23 autoreconf --force --install