Help with some makefile hackery

Dag-Erling Smørgrav des at des.no
Fri Jun 25 18:56:40 UTC 2010


Patrick Mahan <mahan at mahan.org> writes:
> Maybe I should do this instead?
>
> src-kernel: src-kernel-tools
> 	cd src; ./amd64-kernel.sh 2>&1 > build_amd64_kernel.log; \
> 		tail -f build_amd64_kernel.log
>
> It is not too clear if the status is the last one in a compound
> command.

This won't work, because tail won't start until the build is done.  You
should just pass the file name as an argument to your script and handle
it there.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list