Add single-document ReST docs.

This for the case where Sphinx isn't available. This file should be
valid for the last release.
This commit is contained in:
Kyle Isom
2015-12-22 15:36:03 -08:00
parent adad01727b
commit 2d18c2eb07
7 changed files with 646 additions and 10 deletions

View File

@@ -51,6 +51,9 @@ all:
check:
distclean: clean
rm -f source/header*.rst
rm -f source/conf.py
clean:
rm -rf $(BUILDDIR)/*
@@ -182,3 +185,20 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
singlerst:
sed -e "s/@BUILD_DATE@/$$(date +'%Y-%m-%d')/" \
source/header.rst > source/header.dated.rst
cat source/header.dated.rst \
source/intro.rst \
source/building.rst \
source/overview.rst \
source/hash.rst \
source/sha256.rst \
source/hmac.rst \
source/misc.rst \
source/tests.rst \
source/refs.rst \
> libemsha.rst