Split too-long 'tidy' command-line up using xargs, for win32.

This commit is contained in:
Graydon Hoare 2011-03-23 15:05:54 -07:00
parent e6969929db
commit 0a42d5ae62

View File

@ -1129,11 +1129,12 @@ distcheck: $(PKG_TAR)
tidy:
@$(call E, check: formatting)
$(Q)python $(S)src/etc/tidy.py \
$(Q)echo \
$(filter-out $(GENERATED) $(addprefix $(S)src/, $(GENERATED)) \
$(addprefix $(S)src/, $(RUSTLLVM_CS) $(RUSTLLVM_HDR) \
$(PKG_3RDPARTY)) \
$(S)src/etc/%, $(PKG_FILES))
$(S)src/etc/%, $(PKG_FILES)) \
| xargs -n 10 python $(S)src/etc/tidy.py
clean:
@$(call E, cleaning)