
On Thu, Dec 20, 2012 at 09:47:09AM +0100, Jan Stolarek wrote:
The workaround is to link your .git directory from your build tree, like so:
$ cd ghc-build $ ln -s $source/.git .
where $source is your source tree. I managed to get it working on Debian though there were some small issues. Lndir linked .git directory by default, but it was not visible to ./configure. I had to `rm -r .git; ln -s ghc-working/.git .` and things seem to work now. One thing bothers me: how can I undo `perl boot`? `make clean` doesn't seem to remove the configure scripts so I am not sure whether the tree in the ghc-build directory works because of symlinking .git or because I have configure files in the original source directory.
How about, in the source directory: git clean -dfx or perhaps with -X instead. You can use -n instead of -f to see what it'd do. David