]> granicus.if.org Git - yasm/commitdiff
Clean up sed usage a tiny bit (don't use cat).
authorPeter Johnson <peter@tortall.net>
Mon, 29 Jan 2007 03:44:23 +0000 (03:44 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 29 Jan 2007 03:44:23 +0000 (03:44 -0000)
svn path=/trunk/yasm/; revision=1746

tools/python-yasm/Makefile.inc

index 53c0c675b4d00433690bf81af6d2d5722794e208..a2f787afa9e9da1a86aaa232a0ec4cce8979eeb3 100644 (file)
@@ -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