summaryrefslogtreecommitdiff
path: root/doc/dune
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dune')
-rw-r--r--doc/dune17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/dune b/doc/dune
new file mode 100644
index 0000000..ed1904a
--- /dev/null
+++ b/doc/dune
@@ -0,0 +1,17 @@
+(rule
+ (with-stdout-to
+ nixtamal.1
+ (run %{bin:nixtamal} --help=groff)))
+
+(rule
+ (targets nixtamal-manifest.5)
+ (deps manifest.rst)
+ (action
+ (with-stdout-to
+ nixtamal-manifest.5
+ (run rst2man --halt=4 --no-generator --language=en %{dep:manifest.rst}))))
+
+(install
+ (package nixtamal)
+ (section man)
+ (files nixtamal.1 nixtamal-manifest.5))