[PD-cvs] externals/miXed/toxy Makefile,1.9.2.2,1.9.2.3
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Mon Apr 2 01:10:27 CEST 2007
Update of /cvsroot/pure-data/externals/miXed/toxy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24063
Modified Files:
Tag: branch-v0-39-2-extended
Makefile
Log Message:
yet another attempt to deal with this aggravating sh compatibility issue, this time it's a echo compatibility issue conflicting with sh compatibility
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/toxy/Makefile,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -C2 -d -r1.9.2.2 -r1.9.2.3
*** Makefile 1 Apr 2007 21:02:23 -0000 1.9.2.2
--- Makefile 1 Apr 2007 23:10:25 -0000 1.9.2.3
***************
*** 2,5 ****
--- 2,11 ----
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:
***************
*** 10,14 ****
@echo transferring widget definitions from \"$<\" to \"$@\"
# LATER think how to replace puts with pdtk_post
! @/bin/echo -e '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \
| cat - $< | sed \
-e '1,\|//$$|{p;d;}' \
--- 16,20 ----
@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]' \
| cat - $< | sed \
-e '1,\|//$$|{p;d;}' \
More information about the Pd-cvs
mailing list