Makefile: reformat FIND_SOURCE_FILES
As we add to this in future commits, the formatting is going to make it harder and harder to read. Let's write it more as we would in a shell script, putting each logical block on its own line. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
454cb6bd52
commit
e951ebca91
9
Makefile
9
Makefile
@ -2149,9 +2149,12 @@ endif
|
||||
po/build/locale/%/LC_MESSAGES/git.mo: po/%.po
|
||||
$(QUIET_MSGFMT)mkdir -p $(dir $@) && $(MSGFMT) -o $@ $<
|
||||
|
||||
FIND_SOURCE_FILES = ( git ls-files '*.[hcS]' 2>/dev/null || \
|
||||
$(FIND) . \( -name .git -type d -prune \) \
|
||||
-o \( -name '*.[hcS]' -type f -print \) )
|
||||
FIND_SOURCE_FILES = ( \
|
||||
git ls-files '*.[hcS]' 2>/dev/null || \
|
||||
$(FIND) . \
|
||||
\( -name .git -type d -prune \) \
|
||||
-o \( -name '*.[hcS]' -type f -print \) \
|
||||
)
|
||||
|
||||
$(ETAGS_TARGET): FORCE
|
||||
$(RM) $(ETAGS_TARGET)
|
||||
|
Loading…
Reference in New Issue
Block a user