Attempt to avoid complaints in MinGW that 'fmt' does not exist during depends

This commit is contained in:
Christophe de Dinechin 2017-04-18 21:02:20 +02:00
parent 649859601c
commit 350cba41a8
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ OBJ_DEPS=$(OBJDIR_DEPS) $(MAKEFILE_DEPS) | hello prebuild
# generated dependency but no longer in the source code.
# The trick is quite ugly, but fortunately documented here:
# http://scottmcpeak.com/autodepend/autodepend.html
POSTPROCESS_DEPENDENCY= \
POSTPROCESS_DEPENDENCY?= \
( sed -e 's/.*://' -e 's/\\$$//' < $@ | \
fmt -1 | \
sed -e 's/^ *//' -e 's/$$/:/' >> $@ )