diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-09-16 12:23:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-17 09:13:02 -0700 |
commit | cf6a2d2557a5a50e0b1cf3a861a0df948e2782fc (patch) | |
tree | 4548ab0e07cdad7bdf2b54e1bc3e9f787c2badca /po | |
parent | compat/*.[ch]: remove extern from function declarations using spatch (diff) | |
download | tgif-cf6a2d2557a5a50e0b1cf3a861a0df948e2782fc.tar.xz |
Makefile: strip leading ./ in $(LIB_H)
Currently, $(LIB_H) is generated from two modes: if `git ls-files` is
present, it will use that to enumerate the files in the repository; else
it will use `$(FIND) .` to enumerate the files in the directory.
There is a subtle difference between these two methods, however. With
ls-files, filenames don't have a leading `./` while with $(FIND), they
do. This results in $(CHK_HDRS) having to substitute out the leading
`./` before it uses $(LIB_H).
Unify the two possible values in $(LIB_H) by using patsubst to remove the
`./` prefix at its definition.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions