joyent/smartos-live — pull request #86 by Tenzer (2012-04-30 13:04:12+00:00)
Title: 'make clean' fails if Node.js hasn't been built

In case you experience an issue somewhere in the build process and want to start over with a 'make clean', it will fail right from the get go if you don't have Node.js built because `node-waf` is missing from the proto area.
I have added a simple check to make sure `node-waf` exists before trying to call it, which will make 'make clean' complete if that's not the case.