bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-24 Thread Reuben Thomas via Bug reports for Automake
On Wed, 24 Apr 2024 at 23:38, Reuben Thomas wrote: > Apologies, I should have run the tests before posting the patch. Indeed, I > have broken things. So, please consider the documentation patch, and I'll > take another look at the bug-fix (which in any case I have also realised > does not solve m

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-24 Thread Reuben Thomas via Bug reports for Automake
On Wed, 24 Apr 2024 at 22:57, Reuben Thomas wrote: > > The patch is trivial, so hopefully it's obvious if there's a problem for > some reason! I hope I explained well enough what problem I'm trying to > solve. > Apologies, I should have run the tests before posting the patch. Indeed, I have brok

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-24 Thread Reuben Thomas via Bug reports for Automake
I attach two patches. The first is a trivial documentation fix. The second fixes a bug I ran into recently with Vala compilation. I just needed to add some Vala source files to my program that are added to the relevant _SOURCES variable conditionally: if OS_WIN32 libenchant_la_SOURCES += api-wind