]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: fix 'hdr-check' when GCRYPT not installed
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Wed, 6 Mar 2019 00:11:13 +0000 (00:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Mar 2019 04:55:07 +0000 (13:55 +0900)
commitf23aa18e7fef59f9187a733e752dc425aa5346bf
tree01e963c7ada5d8667f54adb1ea9d6a8196509271
parent0d0ac3826a3bbb9247e39e12623bbcfdd722f24c
Makefile: fix 'hdr-check' when GCRYPT not installed

If the GCRYPT_SHA256 build variable is not set, then the 'hdr-check'
target complains about the missing <gcrypt.h> header file. Add the
'sha256/gcrypt.h' header file to the exception list, if the build
variable is not defined. While here, replace the 'xdiff%' filter
pattern with 'xdiff/%' (and similarly for the compat pattern) since
the original pattern inadvertently excluded the 'xdiff-interface.h'
header.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile