]> granicus.if.org Git - libevent/commit
rpcgen: Generate regress.gen.[c,h] in build rather than src dir
authorRoss Lagerwall <rosslagerwall@gmail.com>
Sun, 15 Sep 2013 19:48:15 +0000 (21:48 +0200)
committerRoss Lagerwall <rosslagerwall@gmail.com>
Sun, 15 Sep 2013 19:48:15 +0000 (21:48 +0200)
commit243386ccc292a99906bff5d0ecbde673b36754d0
tree133b28361668366cfbf83450b5b27c38745e71d4
parent197abd8bf32767d346c4cde63cf56afb08e4f327
rpcgen: Generate regress.gen.[c,h] in build rather than src dir

Currently an out-of-tree build will either write to the src dir or reuse
the existing regress.gen.[c,h].  But if building from a read-only git
tree (or if the git dir is cleaned), these files will not exist and the
build fails.  So write the files to the build dir.  If the system does
not have python, the regress.gen.[c,h] will be used from the src dir if
they exist.
test/include.am
test/rpcgen_wrapper.sh