New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamldep does not handle spaces in names correctly #3370
Comments
Comment author: administrator On 05.01.2005 03:10, Damien Doligez wrote:
Perhaps, but there is at least a choice between a "definitely hopeless"
This could be the case. But in both cases, using "\ " for " " does not
Even on Windows? Even when things are installed into the "Program Files" P.S. One reason I care about this is because of our OMake Build Tool -- Home Page: http://nogin.org/ |
Comment author: administrator
Unfortunately, there is no right thing to do.
This is an undocumented feature of gnu make, and it doesn't exist in Berkeley -- Damien |
Comment author: administrator On Jan 5, 2005, at 12:40, nogin@cs.caltech.edu wrote:
OK
OK
On Windows it is totally hopeless, because \ is used as the directory
I wish all these stupid make implementations would support shell-style -- Damien |
Comment author: administrator fixed 2004-01-05 DD |
Original bug ID: 3370
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Aleksey Nogin
Version: 3.02
OS: Red Hat Linux/Fedora Core
Submission from: wasco.cs.caltech.edu (131.215.44.173)
If a directory name contains spaces in it, ocamldep does not do the right thing.
For example,
mkdir a\ b
touch a\ b/foo.ml
echo 'open Foo' > bar.ml
ocamldep -I a\ b bar.ml
bar.cmo: a b/foo.cmo
bar.cmx: a b/foo.cmx
Ocamldep needs to prefix the spaces with a slash:
bar.cmo: a\ b/foo.cmo
bar.cmx: a\ b/foo.cmx
The text was updated successfully, but these errors were encountered: