aboutsummaryrefslogtreecommitdiff
path: root/bin/dune
blob: 3031405ee57b4b04b06c1b89237de88904009adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(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-outputs-to %{target} (run stitch --help=groff)))
)

; Install the man page
(install
 (section  man)
 (files    stitch.1)
 (package  stitch)
)