File: autogen.sh

package info (click to toggle)
gnome-devel-docs 3.30.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76,428 kB
  • sloc: xml: 2,507; ansic: 2,228; python: 1,854; makefile: 804; sh: 490; cpp: 131
file content (18 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd "$srcdir"

# This will run autoconf, automake, etc. for us
autoreconf --force --install

cd "$olddir"

if test -z "$NOCONFIGURE"; then
  "$srcdir"/configure "$@"
fi