[svn-commits] russell: trunk r199368 - /trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Jun 6 16:38:57 CDT 2009


Author: russell
Date: Sat Jun  6 16:38:54 2009
New Revision: 199368

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199368
Log:
Switch from "echo -n" to printf.  On my mac, the -n was just getting printed out.

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/Makefile?view=diff&rev=199368&r1=199367&r2=199368
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Jun  6 16:38:54 2009
@@ -494,12 +494,12 @@
 	$(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 ; \




More information about the svn-commits mailing list