view docs/makefile @ 5597:0cb1718ed95c

evolvecmd: move bookmark-deactivation out of _relocatecommit() The bookmark-deactivation code will be done whether or not we're using in-memory merge in `_relocatecommit()`. It could be put in a new `_preparerelocate()` or something, but it's short enough that it doesn't seem worth it.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 25 Sep 2020 21:47:30 -0700
parents 187bd6ade465
children 398a3f0ca07a
line wrap: on
line source

SPHINXBUILD ?= sphinx-build

.PHONY: all
all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico
	$(SPHINXBUILD) . ../html/

tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py
	python test2rst.py tutorials/

tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py
	python test2rst.py tutorials/

static/logo-evolve.ico: static/logo-evolve.svg
	convert -resize 36x36 $< $@

.PHONY: clean
clean:
	rm -rf ../html
	rm -f static/logo-evolve.ico
	rm -f tutorials/tutorial.rst
	rm -f tutorials/topic-tutorial.rst