File: autogen.sh

package info (click to toggle)
gtkterm 0.99.7%2Bgit9d63182-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 924 kB
  • sloc: ansic: 5,015; sh: 1,314; makefile: 51; xml: 12
file content (22 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

topdir=`dirname $0`
test -z "$topdir" && topdir=.

PKG_NAME="GtkTerm"

(test -f $topdir/src/gtkterm.c) || {
    echo -n "**Error**: Directory "\`$topdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
}

# Check for gnome-autogen.sh existance
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
}

USE_GNOME3_MACROS=1 . gnome-autogen.sh