(executable (public_name stitch) (package stitch) (flags (:standard -cclib -static -cclib -no-pie)) (name main) (libraries stitch unix cmdliner str notty notty.unix shexp.process lambda-term)) ; Rule to generate a man page for stitch (rule (target stitch.1) (action (with-stdout-to %{target} (run stitch --help=groff))) ) (install (section man) (files stitch.1) (package stitch) )