[PD-cvs] externals/miXed/toxy Makefile,1.10,1.11

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Apr 2 21:04:52 CEST 2007


Update of /cvsroot/pure-data/externals/miXed/toxy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30405

Modified Files:
	Makefile 
Log Message:
ok, I think I finally nailed this stupid sh vs. echo -e bug

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/toxy/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Makefile	30 Mar 2007 21:53:09 -0000	1.10
--- Makefile	2 Apr 2007 19:04:50 -0000	1.11
***************
*** 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
! 	@echo '// 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