Skip to content

Commit e951ebc

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 454cb6b commit e951ebc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,9 +2149,12 @@ endif
21492149
po/build/locale/%/LC_MESSAGES/git.mo: po/%.po
21502150
$(QUIET_MSGFMT)mkdir -p $(dir $@) && $(MSGFMT) -o $@ $<
21512151

2152-
FIND_SOURCE_FILES = ( git ls-files '*.[hcS]' 2>/dev/null || \
2153-
$(FIND) . \( -name .git -type d -prune \) \
2154-
-o \( -name '*.[hcS]' -type f -print \) )
2152+
FIND_SOURCE_FILES = ( \
2153+
git ls-files '*.[hcS]' 2>/dev/null || \
2154+
$(FIND) . \
2155+
\( -name .git -type d -prune \) \
2156+
-o \( -name '*.[hcS]' -type f -print \) \
2157+
)
21552158

21562159
$(ETAGS_TARGET): FORCE
21572160
$(RM) $(ETAGS_TARGET)

0 commit comments

Comments
 (0)