put notebook-making into the Makefile