improve build dependency handling
add tangling to Makefile; ignore build directory
run TeX in batchmode; only run make in build if Makefile exists
exit with an error if the chunk is never found