Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Build breaks when copy of source tree is in a subdirectory?



On Apr 9,  7:58am, Mikael Magnusson wrote:
} Subject: Build breaks when copy of source tree is in a subdirectory?
}
} Anyway, if you leave this copy in a subdirectory of the repo, as in cp
} -r zsh foo; mv foo zsh/foo, then rebuilds after rerunning .preconfig
} and configure seem to fail mysteriously, claiming that zsh.mdd is not
} a directory:

This is because Util/preconfig does a "find" executing all the .preconfig
files it finds and ends up linking all subtrees into the top-level "make"
as a consequence.

Based on examination of Util/preconfig, if you name the copy directory
something containing a "." such as "foo.copy" then the find won't descend
into it and your build should work again, but I didn't actually test that.



Messages sorted by: Reverse Date, Date, Thread, Author