X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=autogen.sh;h=582a8a3af495bc6c17d0949cfff141f9eddbad0b;hb=9fbe27d9d6dc6e4530ce904d35c74326e415e34e;hp=683c498025b662bdad7fdbc92ce171ea73d5c9de;hpb=dd8a93e0d8d4db1810e8d0bc438c19c97876b810;p=elogind.git diff --git a/autogen.sh b/autogen.sh index 683c49802..582a8a3af 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,6 +2,12 @@ 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 && \ + echo "Activated pre-commit hook." +fi + gtkdocize autoreconf --install --symlink @@ -16,7 +22,7 @@ args="\ --bindir=/sbin \ --libdir=$(libdir /usr/lib) \ --with-rootlibdir=$(libdir /lib) \ ---libexecdir=/lib/udev \ +--libexecdir=/lib \ --with-systemdsystemunitdir=/lib/systemd/system \ --with-selinux \ --enable-gtk-doc"