diff --git a/Makefile b/Makefile index dce32463ed..4f52dc8af1 100644 --- a/Makefile +++ b/Makefile @@ -297,8 +297,10 @@ deb-src-upload: deb-src $(DPUT_BIN) $(DPUT_OPTS) $(DEB_PPA) deb-build/$${DIST}/$(NAME)_$(VERSION)-$(DEB_RELEASE)~$${DIST}_source.changes ; \ done -# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory +epub: + (cd docs/docsite/; CPUS=$(CPUS) make epub) +# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory webdocs: (cd docs/docsite/; CPUS=$(CPUS) make docs) diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 3a18213e8c..31e5895b10 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -48,3 +48,6 @@ modules: $(FORMATTER) ../templates/plugin.rst.j2 staticmin: cat _themes/srtd/static/css/theme.css | sed -e 's/^[ ]*//g; s/[ ]*$$//g; s/\([:{;,]\) /\1/g; s/ {/{/g; s/\/\*.*\*\///g; /^$$/d' | sed -e :a -e '$$!N; s/\n\(.\)/\1/; ta' > _themes/srtd/static/css/theme.min.css + +epub: + (CPUS=$(CPUS) make -f Makefile.sphinx epub)