diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:05:26 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:05:26 +0100 |
commit | 4e3472ae6fa64b80c9038a8acaf115d1a7e291c4 (patch) | |
tree | 1e1040b7140222a9dfb1ea5a73fff8e208aa76ef /autogen.sh | |
parent | 43fb36545b6e06cd1123fb6c84b288b086b06f3a (diff) |
Install and use pre-commit indentation hook from common
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -22,6 +22,14 @@ then fi . common/gst-autogen.sh +# install pre-commit hook for doing clean commits +if test ! -x .git/hooks/pre-commit; +then + cp common/hooks/pre-commit.hook .git/hooks/pre-commit + chmod +x .git/hooks/pre-commit +fi + + CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc --enable-plugin-docs' autogen_options $@ |