Add docs for the PRNG
I had to write a script to generate the manpages because ronn does not
handle apostrophes correctly. The script just passes the output through
a `sed` step to make sure the ' command shows up correctly in the man
page.
diff --git a/Makefile.in b/Makefile.in
index fead184..36f3be4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -128,12 +128,12 @@
INSTALL = ./install.sh
SAFE_INSTALL = ./safe-install.sh
LINK = ./link.sh
+MANPAGE = ./manpage.sh
KARATSUBA = ./karatsuba.py
LOCALE_INSTALL = ./locale_install.sh
LOCALE_UNINSTALL = ./locale_uninstall.sh
VALGRIND_ARGS = --error-exitcode=100 --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all
-RONN_ARGS = --roff --organization="Gavin D. Howard" --manual="General Commands Manual"
BC_NUM_KARATSUBA_LEN = %%KARATSUBA_LEN%%
@@ -258,8 +258,8 @@
@printf '%s' "$(BC_ENABLE_EXTRA_MATH)"
manpages:
- ronn $(RONN_ARGS) $(BC_RONN)
- ronn $(RONN_ARGS) $(DC_RONN)
+ $(MANPAGE) $(BC_RONN) $(BC_MANPAGE)
+ $(MANPAGE) $(DC_RONN) $(DC_MANPAGE)
clean_gen:
@$(RM) -f $(GEN_EXEC)