dune/doc/jbuild

33 lines
599 B
Plaintext

(jbuild_version 1)
(rule
((targets (dune.1))
(action (with-stdout-to ${@}
(run ${bin:dune} --help=groff)))))
(install
((section man)
(files (dune.1))))
(rule
((targets (dune-config.5))
(action (with-stdout-to ${@}
(run ${bin:jbuilder} help config --man-format=groff)))))
(install
((section man)
(files (dune-config.5))))
(include jbuild.inc)
(rule
((targets (jbuild.inc.gen))
(deps ((package dune)))
(action
(with-stdout-to ${@}
(run bash ${path:update-jbuild.sh})))))
(alias
((name runtest)
(action (diff jbuild.inc jbuild.inc.gen))))