Switch from "echo -n" to printf. On my mac, the -n was just getting printed out.
authorRussell Bryant <russell@russellbryant.com>
Sat, 6 Jun 2009 21:38:54 +0000 (21:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 6 Jun 2009 21:38:54 +0000 (21:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199368 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 326090b..ac03dcf 100644 (file)
--- 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 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $@
        @echo "<!DOCTYPE docs SYSTEM \"appdocsxml.dtd\">" >> $@
        @echo "<docs xmlns:xi=\"http://www.w3.org/2001/XInclude\">" >> $@
        @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 ; \