Skip to content

Commit f922074

Browse files
committed
Makefile: Fix ordering and add PHONY
Signed-off-by: Stéphane Graber <[email protected]>
1 parent 37a89aa commit f922074

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# SPDX-License-Identifier: LGPL-2.1-or-later
22

3-
meson:
4-
[ -d build ] || meson setup build/
5-
3+
.PHONY: all
64
all: meson
75
ninja -C build
86

7+
.PHONY: meson
8+
meson:
9+
[ -d build ] || meson setup build/
10+
11+
.PHONY: dist
912
dist: meson
1013
meson dist -C build/ --formats=gztar
1114
cp build/meson-dist/*.tar.gz .
1215

16+
.PHONY: install
1317
install:
1418
DESTDIR=$(DESTDIR) ninja -C build install

0 commit comments

Comments
 (0)