Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005285OCamlOCamlbuild (the tool)public2011-06-08 11:592013-10-08 16:14
Reporterygrek 
Assigned Toxclerc 
PrioritynormalSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
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
There are no notes attached to this issue.

- 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)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker