Hi, في س، 06-11-2010 عند 18:46 +0300 ، كتب Andrey Borzenkov: > I'm trying to rebuild systemd > (http://www.freedesktop.org/wiki/Software/systemd) from GIT. It is > using several programs built using vala; in-tree build is OK, > out-of-tree build fails: Automake assumes the .c files generated by vala are distributed with the source, and this isn't true when building from git. A solution is to do an in-tree build, make distclean, and re-run your out-of-tree build. The problem is you have to do this dance every time a vala file changes, so in practice, out-of-tree build isn't supported for development, only for release tarballs.
<wishlist> A possible solution is to have automake (optionally) not distribute the generated .c files (so they end up in the build dir rather than the source dir) and that could be used in development if out-of-tree builds are needed. </wishlist> HTH, Abderrahim