mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-04-28 09:35:22 +00:00
meson: Add basic Makefile
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
4c8139f9cf
commit
62423c89e7
18
Makefile
Normal file
18
Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user