diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -50,10 +50,13 @@ dist src/hydrilla/_version.py: @printf "Generated source tarball in:\n" @printf "./dist/hydrilla-$(GET_VER).tar.gz\n" +doc: + $(GUIX_DEVSHELL) python3 setup.py build_htmldoc + # Make a release tarball and repack its files as writeable - this will make it # easier for non-technical users to remove the unpacked release once they no # longer need it. -release: dist +release: dist doc $(GUIX_TM) pack -L ./hydrilla-guix -RR hydrilla \ -S /hydrilla=bin/hydrilla \ -S /hydrilla-builder=bin/hydrilla-builder \ @@ -67,6 +70,7 @@ release: dist mkdir bin-tarball-repack/"$$RELNAME" && \ tar -C bin-tarball-repack/"$$RELNAME"/ -xf "$$PACKFILE" && \ chmod -R +w bin-tarball-repack/"$$RELNAME" && \ + cp -R htmldoc/ bin-tarball-repack/"$$RELNAME" && \ $(DETERMINISTIC_TAR) -C bin-tarball-repack/ \ -cf "$$RELNAME".tar.gz "$$RELNAME" @printf "Generated binary release tarball for $$(arch) in:\n" @@ -132,7 +136,10 @@ clean-bin-tarball-repack: clean-source-tarball-repack: rm -rf source-tarball-repack/ -clean: clean-bin-tarball-repack clean-source-tarball-repack +clean-doc: + rm -rf htmldoc/ + +clean: clean-bin-tarball-repack clean-source-tarball-repack clean-doc rm -rf build/ dist/ src/hydrilla.egg-info/ src/hydrilla/_version.py \ src/hydrilla/locales/messages.pot make-release.log \ haketilo-and-hydrilla-bin-*.tar.gz .mypy_cache/ .pytest_cache/ @@ -140,7 +147,7 @@ clean: clean-bin-tarball-repack clean-source-tarball-repack rm -rf $$(find -name "__pycache__") .PHONY: shell shell-with-haketilo \ - release dist wheel catalogs \ + wheel dist doc release catalogs \ refresh-catalogs test run-haketilo \ mypy-lint mypy-lint-server mypy-lint-builder mypy-lint-haketilo \ clean-bin-tarball-repack clean-source-tarball-repack clean |