Skip to content

Commit eba3131

Browse files
committed
build: always use meson commands
Always use the meson commands to configure or build the project. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 695c520 commit eba3131

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ test-strict: ${NAME}
5555

5656
.PHONY: rpm
5757
rpm:
58-
meson ${BUILD-DIR} \
58+
meson setup ${BUILD-DIR} \
5959
-Dudevrulesdir=$(shell rpm --eval '%{_udevrulesdir}') \
6060
-Dsystemddir=$(shell rpm --eval '%{_unitdir}') \
6161
-Ddocs=man -Ddocs-build=true
6262
rpmbuild -ba ${BUILD-DIR}/nvme.spec --define "_builddir ${BUILD-DIR}" -v
6363

6464
.PHONY: debug
6565
debug:
66-
meson ${BUILD-DIR} --buildtype=debug
67-
ninja -C ${BUILD-DIR}
66+
meson setup ${BUILD-DIR} --buildtype=debug
67+
meson compile -C ${BUILD-DIR}
6868

6969
.PHONY: static
7070
static:

0 commit comments

Comments
 (0)