Skip to content
This repository was archived by the owner on Jan 12, 2018. It is now read-only.

Commit 00eb2b2

Browse files
author
Steve Canny
committed
add Makefile target to generate README.html
1 parent 181ad3b commit 00eb2b2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dist
33
*.docx
44
MANIFEST
55
*.pyc
6+
README.html
67
_scratch
78
template/word/media
89
.tox

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ help:
77
@echo "Please use \`make <target>' where <target> is one or more of"
88
@echo " clean delete intermediate work product and start fresh"
99
@echo " coverage run nosetests with coverage"
10+
@echo " readme update README.html from README.rst"
1011
@echo " register update metadata (README.rst) on PyPI"
1112
@echo " sdist generate a source distribution into dist/"
1213
@echo " upload upload distribution tarball to PyPI"
@@ -18,6 +19,10 @@ clean:
1819
coverage:
1920
nosetests --with-coverage --cover-package=docx --cover-erase
2021

22+
readme:
23+
rst2html README.rst >README.html
24+
open README.html
25+
2126
register:
2227
$(SETUP) register
2328

0 commit comments

Comments
 (0)