Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005285OCaml-for ocamlbuild use 11:592017-03-03 15:59
Assigned To 
PlatformOSOS Version
Product Version3.11.2 
Target VersionFixed in Version 
Summary0005285: ocamlbuild: provide a way to run some rules in source directory
DescriptionSometimes it is desirable to keep generated files (e.g. some source-to-source transformation or code generation by third-party tools) in VCS and hence in source directory, not in _build. But all custom myocamlbuild rules get executed in _build and the result is also stored there. Moreover, copying result to the source directory prevents ocamlbuild from rebuilding it on the next run.
Currently I am using extra rules in Makefile to generate such files.
I wish I could specify these rules in myocamlbuild (maybe some per-rule flag to run it in source directory (but that would probably break parallel building because of process-wide chdir effect). Any ideas?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
xleroy (administrator)
2017-02-20 10:56

Un-assigning from xclerc
doligez (administrator)
2017-03-03 15:59

ocamlbuild is now a separate project that lives on GitHub.
PR transferred to [^]

- Issue History
Date Modified Username Field Change
2011-06-08 11:59 ygrek New Issue
2011-06-15 09:49 xclerc Status new => assigned
2011-06-15 09:49 xclerc Assigned To => xclerc
2012-02-02 15:17 protz Category OCamlbuild => OCamlbuild (the tool)
2017-02-20 10:56 xleroy Status assigned => acknowledged
2017-02-20 10:56 xleroy Note Added: 0017367
2017-02-23 16:34 doligez Category OCamlbuild (the tool) => for ocamlbuild use [^]
2017-02-23 16:44 doligez Category for ocamlbuild use [^] => -for ocamlbuild use [^]
2017-03-03 15:57 doligez Assigned To xclerc =>
2017-03-03 15:59 doligez Note Added: 0017549
2017-03-03 15:59 doligez Status acknowledged => resolved
2017-03-03 15:59 doligez Resolution open => suspended

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker