summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2007-01-29 03:44:23 +0000
committerPeter Johnson <peter@tortall.net>2007-01-29 03:44:23 +0000
commitee2c1b181a70141e52587b316eace00c0c3a9332 (patch)
tree53ee8a7a550d89743c569e25194fff1a69a9507f /tools
parent0c344700a719319c0f684a1874015d59b59374bf (diff)
downloadyasm-ee2c1b181a70141e52587b316eace00c0c3a9332.tar.gz
Clean up sed usage a tiny bit (don't use cat).
svn path=/trunk/yasm/; revision=1746
Diffstat (limited to 'tools')
-rw-r--r--tools/python-yasm/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/python-yasm/Makefile.inc b/tools/python-yasm/Makefile.inc
index 53c0c675..a2f787af 100644
--- a/tools/python-yasm/Makefile.inc
+++ b/tools/python-yasm/Makefile.inc
@@ -35,9 +35,8 @@ CLEANFILES += _yasm.pxi
# Need to build a local copy of the main Pyrex input file to include _yasm.pxi
# from the build directory. Also need to fixup the other .pxi include paths.
yasm.pyx: $(srcdir)/tools/python-yasm/yasm.pyx
- cat $(srcdir)/tools/python-yasm/yasm.pyx \
- | sed -e 's,^include "\([^_]\),include "${srcdir}/tools/python-yasm/\1,' \
- > $@
+ sed -e 's,^include "\([^_]\),include "${srcdir}/tools/python-yasm/\1,' \
+ $(srcdir)/tools/python-yasm/yasm.pyx > $@
CLEANFILES += yasm.pyx