summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-09-18 17:00:42 +0200
committerStef Walter <stefw@redhat.com>2014-09-18 17:30:06 +0200
commit7ef30275c7ab6d175b1735d95b185cb13bbe1fd6 (patch)
treea0739f8e571cc23cc10e1f939038b11e909b89ab
parentef1dd469cd128b4eb1eb95079f9075fae9af59a2 (diff)
downloadaccountsservice-7ef30275c7ab6d175b1735d95b185cb13bbe1fd6.tar.gz
autogen.sh: Fix gtkdocize call for srcdir != builddir
When srcdir != builddir gtkdocize needs to be run in the right directory, or it will complain about missing configure.ac https://bugs.freedesktop.org/show_bug.cgi?id=84047
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index e1e2f12..9c30f6b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,7 +9,7 @@ EXTRA_DIST =
CLEANFILES =
EOF
else
- gtkdocize || exit $?
+ (cd $(dirname $0) && gtkdocize) || exit $?
fi
ACLOCAL="aclocal $ACLOCAL_FLAGS"