Adding build systems where the build file has a constant name
Closed this issue · 2 comments
refi64 commented
Some build systems (most particularly Waf and fbuild) don't let you use a custom build script. In Waf's case, it must ALWAYS be named wscript
; in fbuild's, fbuildroot.py
. Could a way of getting around this be added to Util.hs
?
ndmitchell commented
Sure. That bit runs in a temp directory, so if around line 130 you add the code:
Waf -> do
renameFile (name ++ "-wscript") "script"
system_ "waf"
That should work just fine. If you have any difficulties just send me a patch you think should work for one of the tests, and I'll integrate it from there.
refi64 commented
Woah, I just realized this was still open...whoops...