How do I write a waf file for a custom compiler?
问题 I got sick of looking up the magic symbols in make and decided to try waf. I'm trying to use calibre to make ebooks and I'd like to create a wscript that takes in a file, runs a program with some arguments that include that file, and produces an output. Waf should only build if the input file is newer than the output. In make, I'd write a makefile like this: %.epub: %.recipe ebook-convert $ .epub --test -vv --debug-pipeline debug Where % is a magic symbol for the basename of the file and $ a