diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-12 17:28:32 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-12 17:28:32 +0000 |
commit | 2449ff5cf599d10a3a7a2e00d863038f4de2561b (patch) | |
tree | a8e2a3a2621368d17d9ceeba5d97438f8b161e56 /toxy | |
parent | 8d42c08d4abffd0a70f88915304b5c3653d3c14c (diff) |
switched 'echo' to 'printf' since you cannot rely on 'echo -e' being available
svn path=/trunk/externals/miXed/; revision=9695
Diffstat (limited to 'toxy')
-rw-r--r-- | toxy/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/toxy/Makefile b/toxy/Makefile index 1c06f5b..a2b197e 100644 --- a/toxy/Makefile +++ b/toxy/Makefile @@ -1,12 +1,6 @@ ROOT_DIR = .. WIDPATH = $(ROOT_DIR)/test/toxy/setup.wid WIQFILE = $(notdir $(WIDPATH:.wid=.wiq)) -# this is necessary to deal with cross-platform echo issues with '-e' -ifeq ($(shell echo -e|sed 's|^-||'),e) - ECHO = /bin/echo -else - ECHO = echo -endif redefault: checkwiq $(WIQFILE) default checkwiq: @if [ -f $(WIQFILE) ] && ! [ -s $(WIQFILE) ] ; then \ @@ -15,7 +9,7 @@ checkwiq: $(WIQFILE): $(WIDPATH) @echo transferring widget definitions from \"$<\" to \"$@\" # LATER think how to replace puts with pdtk_post - $(ECHO) -e '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \ + printf '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \ | cat - $< | sed \ -e '1,\|//$$|{p;d;}' \ -e 's/\([\\\"]\)/\\\1/g' \ |