Thu 27 Sep 2012 02:41:15 AM UTC, comment #2:
1) I would advise to use sh.exe, not bash.exe (although i'm not sure if other shells support the -W argument to pwd builtin...), since sh is provided by many shells, while bash - only by bash itself.
2) No, it doesn't work. I get this:
make[3]: *** No rule to make target `F:/sbuild.bak.6/src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/libcdio-f3cdade5c87aab6fd30e95487da75d713b5fb728/example/extract.exe', needed by `check_udf.sh'.
And indeed, looking at generated test/Makefile i see:
abs_builddir = F:/sbuild.bak.6/src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/libcdio-f3cdade5c87aab6fd30e95487da75d713b5fb728/test
abs_srcdir = /src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/libcdio-f3cdade5c87aab6fd30e95487da75d713b5fb728/test
abs_top_builddir = F:/sbuild.bak.6/src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/libcdio-f3cdade5c87aab6fd30e95487da75d713b5fb728
abs_top_srcdir = /src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/libcdio-f3cdade5c87aab6fd30e95487da75d713b5fb728
to make it clear, the actual builddirectory is this:
F:/sbuild.bak.6/src/mingw/libcdio-git-f3cdade5c87aab6fd30e95487da75d713b5fb728-1/bld
That is, with your change buildsystem confuses srcdir and builddir.
|