meson: Add basic Makefile

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2022-04-28 23:14:07 -04:00
parent 4c8139f9cf
commit 62423c89e7
No known key found for this signature in database
GPG Key ID: C638974D64792D67

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
.PHONY: all
all: meson
ninja -C build
.PHONY: meson
meson:
[ -d build ] || meson setup build/
.PHONY: dist
dist: meson
meson dist -C build/ --formats=gztar
cp build/meson-dist/*.tar.gz .
.PHONY: install
install:
DESTDIR=$(DESTDIR) ninja -C build install