File: autogen.sh

package info (click to toggle)
gnome-shell-extension-redshift 3.20.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 152 kB
  • ctags: 3
  • sloc: makefile: 44; xml: 39; sh: 14
file content (20 lines) | stat: -rwxr-xr-x 401 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
#!/bin/sh
srcdir=`dirname $0`
[ -z "$srcdir" ] && srcdir=.

PKG_NAME=mypackage

if [ ! -f "$srcdir/configure.ac" ]; then
    echo "$srcdir doesn't look like source directory for $PKG_NAME" >&2
    exit 1
fi

which gnome-autogen.sh || {
    echo "You need to install gnome-common from GNOME Git (or from"
    echo "your OS vendor's package manager)."
    exit 1
}

NOCONFIGURE=true
. gnome-autogen.sh