build.sh: add initial support for meson
commitfda4bacedb3cf726ec43e7958a830487c6e096ee
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 18 Aug 2017 03:41:03 +0000 (18 13:41 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Aug 2017 00:09:51 +0000 (21 10:09 +1000)
tree07d5e8248b65964e7eb7ff5d6ce89618e5d2b4fa
parent493d784c8bbf384d4a68ad4087147f395c3ad672
build.sh: add initial support for meson

When we don't find autogen.sh but we do find meson.build, swap the configure
and make commands over for meson and ninja.

Some things aren't feature-equivalent yet:
- distcheck doesn't exist for ninja but it's hooked up as if it did
- a custom make command doesn't work for ninja

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
build.sh