diff --git a/Makefile b/Makefile index 326090bc01..ac03dcfa74 100644 --- a/Makefile +++ b/Makefile @@ -494,12 +494,12 @@ datafiles: _all $(MAKE) -C sounds install doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(shell $(GREP) -l "language=\"en_US\"" $(dir)/*.c $(dir)/*.cc 2>/dev/null)) - @echo -n "Building Documentation For: " + @printf "Building Documentation For: " @echo "" > $@ @echo "" >> $@ @echo "" >> $@ @for x in $(MOD_SUBDIRS); do \ - echo -n "$$x " ; \ + printf "$$x " ; \ for i in $$x/*.c; do \ $(AWK) -f build_tools/get_documentation $$i >> $@ ; \ done ; \