I noticed that some careless hurried people tend to use Monocypher from
the git repository directly. They don't even grab the releases from
GitHub. That's not ideal for two reasons:
1. The master branch isn't always stable.
2. The Git repository misses some automatically generated files.
This patch attempts to get end users away from the Git repository,
towards well tested official releases. Also, for users who think the
tarball are binary releases (they're source releases), or just want to
be done as quickly as possible, I also gave direct links to the main
source and header files.
-Monocypher
-----------
+Monocypher (Developer Edition)
+------------------------------
+
+_(This is the bleeding edge, not yet released version. If you just want
+to use Monocypher, grab the [latest version][latest], or download the
+[source][] and [header][] files directly. If you want to contribute, see
+the notes at the end.)_
+
+[source]: https://monocypher.org/download/monocypher.c
+[header]: https://monocypher.org/download/monocypher.h
+[latest]: https://monocypher.org/download/monocypher-latest.tar.gz
+
+---
Monocypher is an easy to use, easy to deploy, auditable crypto library
written in portable C. It approaches the size of [TweetNaCl][] and the
sed -i '/tests\/vectors.h:/,$d' $FOLDER/makefile
# Remove contributor notes from the README
-sed -i '/Contributor notes/,$d' $FOLDER/README.md
+sed -e '/Contributor notes/,$d' \
+ -e '1,/^---$/d' \
+ -i $FOLDER/README.md
+sed -e '1i\
+Monocypher\
+----------' \
+ -i $FOLDER/README.md
# Make the actual tarball
tar -cvzf $TARBALL $FOLDER