meson: include build directory no matter it's name
commita19489541ca9367e45b66d0a7b3fd86d445f74d2
authorMax Audron <audron@cocaine.farm>
Sun, 21 Feb 2021 13:16:16 +0000 (21 14:16 +0100)
committerNedko Arnaudov <nedko@nedk.org>
Sun, 21 Feb 2021 19:01:32 +0000 (21 21:01 +0200)
tree97c5715b99905898b141545a9d0ea371831808ca
parent709a032a9361133446377a3dd311f9d51c9e82b7
meson: include build directory no matter it's name

when updating the ebuild i noticed that the include for the config.h and
version.h files relied on the build directory being name "build". This
is fixed now by using the last segment of the meson.build_root() output
which is the correct build dir.

also delete no longer needed manual creation of version.h and config.h
meson.build