aboutsummaryrefslogtreecommitdiff
path: root/bin/dune
blob: b255cb0675d72d7b262e64a5dd2c01d6b0dc9e2d (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
(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)
)