chiark / gitweb /
main: set PR_SET_CHILD_REAPER for MANAGER_USER
[elogind.git] / autogen.sh
index 51b9d81d589dbd4ded8daf2d1f565172bf41b0ba..bec43fad74e62f7e3741f8be90a8014519c99d45 100755 (executable)
@@ -15,6 +15,8 @@
 #  You should have received a copy of the GNU Lesser General Public License
 #  along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
+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