diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-24 22:08:29 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-24 22:08:29 -0400 |
| commit | 348aa47798d5d315c11d568eb87165b857d547e6 (patch) | |
| tree | 7b433ee26291b6ecbc52327f665937147c89aa10 /Makefile | |
| parent | 5a30c8d82aa942ce882fda8dbf16f5ec6f9608c4 (diff) | |
| download | python-coveragepy-git-348aa47798d5d315c11d568eb87165b857d547e6.tar.gz | |
Help in docs didn't work with tmp
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -138,18 +138,17 @@ $(DOCBIN): tox -q -e doc --notest cmd_help: $(DOCBIN) - mkdir -p tmp for cmd in annotate combine debug erase html json report run xml; do \ - echo > tmp/$$cmd.rst; \ - echo ".. code::" >> tmp/$$cmd.rst; \ - echo >> tmp/$$cmd.rst; \ - echo " $$ coverage $$cmd --help" >> tmp/$$cmd.rst; \ + echo > doc/help/$$cmd.rst; \ + echo ".. code::" >> doc/help/$$cmd.rst; \ + echo >> doc/help/$$cmd.rst; \ + echo " $$ coverage $$cmd --help" >> doc/help/$$cmd.rst; \ $(DOCBIN)/python -m coverage $$cmd --help | \ sed \ -e 's/__main__.py/coverage/' \ -e '/^Full doc/d' \ -e 's/^/ /' \ - >> tmp/$$cmd.rst; \ + >> doc/help/$$cmd.rst; \ done dochtml: $(DOCBIN) cmd_help ## Build the docs HTML output. |
