aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/dune12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/dune b/bin/dune
index cfdd86a..3031405 100644
--- a/bin/dune
+++ b/bin/dune
@@ -14,3 +14,15 @@
lambda-term))
+; Rule to generate a man page for stitch
+(rule
+ (target stitch.1)
+ (action (with-outputs-to %{target} (run stitch --help=groff)))
+)
+
+; Install the man page
+(install
+ (section man)
+ (files stitch.1)
+ (package stitch)
+)