makefile error handling
ddlsmurf opened this issue · 2 comments
ddlsmurf commented
Hi, I wanted to suggest for your README.md file, to add to the line jade < $< > $@
an additional || rm $@
to delete the output file if jade fails (ex: if you have an error in an included file, and fix it, make won't run again because $@
is as recent as $<
).
(Further nitpicking may include "$@"
double quoting variables where possible to avoid problems with spaces in filenames)
stephenmathieson commented
The makefile is only there as a simple example of what you can do with this program. It doesn't need to be bulletproof in any way.
Thanks for the suggestions though.
ddlsmurf commented
As far as I'm concerned, the simple example discouraged me from using a tool written by the same author. ymmv