File: autogen.sh

package info (click to toggle)
pidgin-sipe 1.25.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,052 kB
  • sloc: ansic: 52,128; objc: 980; makefile: 662; lex: 357; perl: 335; sh: 284; xml: 30
file content (23 lines) | stat: -rwxr-xr-x 789 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh
###############################################################################
# Generate GITVERSION
###############################################################################
_gitversion=$(git describe | grep -e -)
if [ -n "${_gitversion}" ]; then
	_gitversion=$(echo ${_gitversion} | cut -d- -f3 | sed 's/^g//')
	echo -n ${_gitversion} >GITVERSION
else
	rm -f GITVERSION
fi

###############################################################################
# Set up build from git tree
###############################################################################
set -e

# Set up initial NLS stuff...
autopoint --force

# ...now replace "autopoint" with "intltoolize" in full setup run
AUTOPOINT="intltoolize --copy --force --automake" \
	 autoreconf --force --install