PYTHON = python3 SRCDIR = . DISTDIR = ./dist BUILDDIR = ./build all: sdist wheel clean: rm -rf *.egg-info dist build sdist: $(PYTHON) -m build $(SRCDIR) -o $(DISTDIR) -sn wheel: $(PYTHON) -m build $(SRCDIR) -o $(BUILDDIR) -wn install: pip uninstall -y sphinx-galleria pip install $(DISTDIR)/sphinx_galleria-`cat $(SRCDIR)/VERSION`.tar.gz .PHONY: clean sdist wheel install