From dbd3ec671dec8ea39032d3b0b56387df40c66c28 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 31 Mar 2004 10:24:20 +0000 Subject: toxy alpha11 svn path=/trunk/externals/miXed/; revision=1526 --- toxy/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'toxy/Makefile') diff --git a/toxy/Makefile b/toxy/Makefile index 07cd407..3035cb4 100644 --- a/toxy/Makefile +++ b/toxy/Makefile @@ -8,13 +8,10 @@ checkwiq: rm -f $(WIQFILE) ; fi $(WIQFILE): $(WIDPATH) @echo transferring widget definitions from \"$<\" to \"$@\" - @cat $< | sed \ --e '1i\ -// Do not edit this file (edit \"$<\", and run \"make\").' \ --e '1i\ -//' \ --e '1i\ -\"puts stderr [concat loading built-in widget definitions]\\n\"' \ + @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;}' \ -e 's/\([\\\"]\)/\\\1/g' \ -e 's/^.*$$/\"&\\n\"/' > $@ @if [ -f $(WIQFILE) ] && ! [ -s $(WIQFILE) ] ; then \ -- cgit v1.2.1