aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2020-09-10 13:55:45 -0700
committerGitHub <noreply@github.com>2020-09-10 13:55:45 -0700
commitc3c2f1197b036c23847e4472397b7df2a4fcc819 (patch)
tree6a5097c68b9dcbc961fe1567463d5d99eea1251f /Makefile.am
parent2bde4a918aa473aefd5cee673b748f7abe4993e7 (diff)
downloadriscv-openocd-c3c2f1197b036c23847e4472397b7df2a4fcc819.zip
riscv-openocd-c3c2f1197b036c23847e4472397b7df2a4fcc819.tar.gz
riscv-openocd-c3c2f1197b036c23847e4472397b7df2a4fcc819.tar.bz2
Attempt to enforce signed-off-by lines in commits. (#523)
* Attempt to enforce signed-off-by lines in commits. Requested by upstream OpenOCD maintainers. Change-Id: Iae09058dd690777d4f787cf4c6096233ca7f98ec Signed-off-by: Tim Newsome <tim@sifive.com> * Remove unnecessary comment. Change-Id: If36c6855d46bfc3a1e2e6844d9beac543d212e3a Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 930a307..ee3919e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,6 +117,13 @@ 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.
+all-local:
+ git config core.hooksPath ./git-hooks
+
DISTCLEANFILES = doxygen.log
METASOURCES = AUTO