Mercurial > evolve
view docs/makefile @ 5956:8e78e0f316b3 stable
tests: improve tarball size check in test-check-sdist.t
Instead of relying on globs for checking numbers, let's rely on find(1)'s
ability to check file size in a more intelligent way.
I would write the number as +800k, but it's not supported in some
implementations of find, so it's not portable. Instead have to use "c" to make
find(1) use bytes instead of 512-byte blocks, which is the default (???).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 16 Jun 2021 08:29:28 +0300 |
parents | 5affbb44f135 |
children |
line wrap: on
line source
SPHINXBUILD ?= python3 -m sphinx -b html .PHONY: all all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico $(SPHINXBUILD) . ../html/ tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py python3 test2rst.py $< tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py python3 test2rst.py $< 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