]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Add basic Makefile
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 29 Apr 2022 03:14:07 +0000 (23:14 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 8 Jun 2022 04:47:00 +0000 (00:47 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..94f2021
--- /dev/null
+++ b/Makefile
@@ -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