Fix reformat make target
This commit is contained in:
parent
95b926f675
commit
8c821ff038
2
mk/pp.mk
2
mk/pp.mk
|
@ -9,7 +9,7 @@ PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L no-reformat)
|
|||
reformat: $(SREQ1)
|
||||
@$(call E, reformat [stage1]: $@)
|
||||
for i in $(PP_INPUTS_FILTERED); \
|
||||
do $(call CFG_RUN_TARG,stage0,stage1/rustc$(X)) \
|
||||
do $(call CFG_RUN_TARG,stage1,stage1/rustc$(X)) \
|
||||
--pretty normal $$i >$$i.tmp; \
|
||||
if cmp --silent $$i.tmp $$i; \
|
||||
then echo no changes to $$i; rm $$i.tmp; \
|
||||
|
|
Loading…
Reference in New Issue