summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-02-13 02:04:41 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-02-13 02:46:00 -0600
commit2d3eec592921331a303dc29c1c746848dddceb11 (patch)
treecab8bc707b537307bcfb527d5be11810ce2642f0 /Makefile.in
parente462a30d03c16aa4202f8d28ad52b15feb3d9255 (diff)
Makefile.in, make sure that the git hooks are set
git hooks used to be set by virtue of calling ./g clone but recent changes means that ./g is not always called these day, so it is possible to end-up with no hooks. Change-Id: I630066ee0e2961b93ddfbf177eb4e5fc09505911
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 2c6ef73da9cc..8cd01fcff7d4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -232,6 +232,7 @@ else # space-saving clone from another local workdir
git submodule update $(GIT_NEEDED_SUBMODULES)
endif
endif
+ cd $(SRCDIR) && ./g -z # make sure the git hooks are in place enven if no submodules are needed
else # these sources are from a tarball, so get the other source tarballs
gb_LO_VER := $(shell . $(SRCDIR)/sources.ver && echo $$lo_sources_ver)