aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7a718d7..2d276eb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,6 +118,15 @@ distclean-local:
rm -rf Doxyfile doxygen
rm -f $(srcdir)/jimtcl/configure.gnu
+# We want every change to have Signed-off-by. This is tricky to enforce in
+# Travis, because it automatically makes temporary commits when merging. So
+# instead we have a hook that enforces this in each workspace. To make sure
+# that users actually use those hooks, we point git at them here.
+# If git fails for some reason, that's OK. It's probably because somebody is
+# building the source completely outside a git repo.
+all-local:
+ cd $(srcdir) && git config core.hooksPath ./git-hooks || true
+
DISTCLEANFILES = doxygen.log
METASOURCES = AUTO