[PATCH GPGME] python: Generate files into build directory

Alon Bar-Lev alon.barlev at gmail.com
Wed Apr 5 17:17:03 CEST 2017


On 5 April 2017 at 18:06, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> On 5 April 2017 at 17:46, Justus Winter <justus at g10code.com> wrote:
>> Alon Bar-Lev <alon.barlev at gmail.com> writes:
>> Yes, this is very nice :).  I merged it.  Unfortunately it broke
>> out-of-tree builds and 'make distcheck'.  So I brought some of the
>> copying back, and did some cleanups.  I hope I didn't stomp over your
>> workflow again.
>
> Hi,
>
> Thanks!
>
> Please consider to quote all
> -$(srcdir) != .
> -"$(srcdir)" != .
>
> Maybe instead of copying back and forth, we can have gpg renamed to
> gpg-src for example.
> Then have a target like:
>
> gpg:
>     ln -s "$(srcdir)/gpg-src" gpg
>
> This is unconditional and will probably work.
> This will also remove the concern of srcdir in the setup.py as files
> are always in builddir.
>
> The problem is that the python tests never work for me, so make check
> and make distcheck cannot be validated by me.

I will try to produce this patch.



More information about the Gnupg-devel mailing list