build: move epub processing out of makefiles