projects
/
platform
/
upstream
/
libgsignon-glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599f909
)
Improve autogen.sh
author
David King
<david.king@canonical.com>
Thu, 18 Oct 2012 08:39:19 +0000
(09:39 +0100)
committer
David King
<david.king@canonical.com>
Thu, 18 Oct 2012 08:39:19 +0000
(09:39 +0100)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
fe96569
..
0599598
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,4
+1,14
@@
-gtkdocize
-automake --add-missing
-autoreconf -i --force && ./configure "$@"
+#!/bin/sh -e
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+(test -f $srcdir/libsignon-glib.pc.in ) || {
+ echo -n "Error: Directory "\`$srcdir\`" does not look like the "
+ echo "top-level libsignon-glib directory."
+ exit 1
+}
+
+gtkdocize --copy --flavour no-tmpl
+autoreconf --install --force
+. $srcdir/configure "$@"