Merging upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
078c0dbcc0
commit
635faa7346
571 changed files with 10718 additions and 2738 deletions
24
Makefile
24
Makefile
|
@ -9,6 +9,10 @@ NAME := nvme
|
|||
.DEFAULT_GOAL := ${NAME}
|
||||
BUILD-DIR := .build
|
||||
|
||||
.PHONY: update-subprojects
|
||||
update-subprojects:
|
||||
meson subprojects update
|
||||
|
||||
${BUILD-DIR}:
|
||||
meson setup $@
|
||||
@echo "Configuration located in: $@"
|
||||
|
@ -28,19 +32,29 @@ endif
|
|||
purge:
|
||||
ifneq ("$(wildcard ${BUILD-DIR})","")
|
||||
rm -rf ${BUILD-DIR}
|
||||
meson subprojects purge --confirm
|
||||
endif
|
||||
|
||||
.PHONY: install dist
|
||||
install dist: ${BUILD-DIR}
|
||||
cd ${BUILD-DIR} && meson $@
|
||||
.PHONY: install
|
||||
install: ${NAME}
|
||||
meson install -C ${BUILD-DIR} --skip-subprojects
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
cd ${BUILD-DIR} && meson --internal uninstall
|
||||
|
||||
.PHONY: dist
|
||||
dist: ${NAME}
|
||||
meson dist -C ${BUILD-DIR} --formats gztar
|
||||
|
||||
.PHONY: test
|
||||
test: ${BUILD-DIR}
|
||||
ninja -C ${BUILD-DIR} $@
|
||||
test: ${NAME}
|
||||
meson test -C ${BUILD-DIR}
|
||||
|
||||
# Test strictly nvme-cli (do not run tests on all the subprojects)
|
||||
.PHONY: test-strict
|
||||
test-strict: ${NAME}
|
||||
meson test -C ${BUILD-DIR} --suite nvme-cli
|
||||
|
||||
.PHONY: rpm
|
||||
rpm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue