diff options
author | JinWang An <jinwang.an@samsung.com> | 2022-12-27 12:15:01 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2022-12-27 12:15:01 +0900 |
commit | 90dfac14e6a0169336b5b7210e4a160df8b91c68 (patch) | |
tree | dc0edc2133786db0565f19d51c4a9957dd69e2ac /Makefile.in | |
parent | f265e62a50d88d86bfdd354cc47b1570178dccb7 (diff) | |
download | diffutils-90dfac14e6a0169336b5b7210e4a160df8b91c68.tar.gz diffutils-90dfac14e6a0169336b5b7210e4a160df8b91c68.tar.bz2 diffutils-90dfac14e6a0169336b5b7210e4a160df8b91c68.zip |
Imported Upstream version 3.5upstream/3.5
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 4dbb050..ae71ba1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1718,6 +1718,20 @@ gen-ChangeLog: distcheck-hook: $(MAKE) my-distcheck +# Some of our git hook scripts are supposed to be identical to git's samples. +# See if they are still in sync. +.PHONY: check-git-hook-script-sync +check-git-hook-script-sync: + @fail=0; \ + t=$$(mktemp -d) \ + && cd $$t && git init -q && cd .git/hooks \ + && for i in pre-commit pre-applypatch applypatch-msg; do \ + diff -u $(abs_top_srcdir)/scripts/git-hooks/$$i $$i.sample \ + || fail=1; \ + done; \ + rm -rf $$t; \ + test $$fail = 0 + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |