X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=autogen.sh;h=bec43fad74e62f7e3741f8be90a8014519c99d45;hb=17804d7f0a4002d4f0b8f1dc6e25fcca9381c13e;hp=51b9d81d589dbd4ded8daf2d1f565172bf41b0ba;hpb=843605d372aa000a1ad120bb9d06d04e8b1da50c;p=elogind.git diff --git a/autogen.sh b/autogen.sh index 51b9d81d5..bec43fad7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,6 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see . +set -e + if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ chmod +x .git/hooks/pre-commit && \ @@ -24,7 +26,7 @@ fi GTKDOCIZE=$(which gtkdocize 2>/dev/null) if test -z $GTKDOCIZE; then echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation." - echo 'EXTRA_DIST =' > gtk-doc.make + echo 'EXTRA_DIST =' > docs/gtk-doc.make else gtkdocize --docdir docs/ gtkdocargs=--enable-gtk-doc @@ -41,7 +43,6 @@ args="\ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=$(libdir /usr/lib) \ ---libexecdir=/usr/lib \ $gtkdocargs" if [ ! -L /bin ]; then