aboutsummaryrefslogtreecommitdiff
path: root/toxy/Makefile
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
commitdbd3ec671dec8ea39032d3b0b56387df40c66c28 (patch)
tree6ad4c4d87e05b8babf1d78a1303de508ce5d1cdf /toxy/Makefile
parent14b05069b61d8d86d52415acb1adea7a61547ac6 (diff)
toxy alpha11
svn path=/trunk/externals/miXed/; revision=1526
Diffstat (limited to 'toxy/Makefile')
-rw-r--r--toxy/Makefile11
1 files changed, 4 insertions, 7 deletions
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 \