-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a promote actions and include stanzas
Add a promote action that allows to copy over generated files as source files and an include stanza allowing to include a file in a jbuild file.
- Loading branch information
1 parent
469079f
commit 0f222c1
Showing
19 changed files
with
481 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
|
||
(rule | ||
((targets (jbuilder-build.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} build --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-build.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-clean.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} clean --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-clean.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-exec.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} exec --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-exec.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-external-lib-deps.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} external-lib-deps --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-external-lib-deps.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-install.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} install --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-install.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-installed-libraries.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} installed-libraries --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-installed-libraries.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-rules.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} rules --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-rules.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-runtest.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} runtest --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-runtest.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-subst.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} subst --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-subst.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-uninstall.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} uninstall --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-uninstall.1)))) | ||
|
||
(rule | ||
((targets (jbuilder-utop.1)) | ||
(action (with-stdout-to ${@} | ||
(run ${bin:jbuilder} utop --help=groff))))) | ||
|
||
(install | ||
((section man) | ||
(files (jbuilder-utop.1)))) | ||
|
Oops, something went wrong.