Added autotools build system.

This commit is contained in:
Marcel Metz
2013-05-25 16:49:48 +02:00
parent 9bec1a9898
commit 3c8b85528c
16 changed files with 206 additions and 12 deletions

22
autogen.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="gnome-shell-extension-sensors"
touch ChangeLog
test -f $srcdir/configure.ac || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-shell-extensions directory"
exit 1
}
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
}
. gnome-autogen.sh