diff options
author | John Levon <john.levon@nutanix.com> | 2021-05-26 14:26:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 14:26:53 +0100 |
commit | 527b84199f60b90097aaa94fbdc3876663133a5e (patch) | |
tree | 24df3e966dde99282bbc282ecd7e244a0ce96440 | |
parent | aee8c0fc124827241ebbe355e3ef737593142e1a (diff) | |
download | libvfio-user-527b84199f60b90097aaa94fbdc3876663133a5e.zip libvfio-user-527b84199f60b90097aaa94fbdc3876663133a5e.tar.gz libvfio-user-527b84199f60b90097aaa94fbdc3876663133a5e.tar.bz2 |
fix `make install` (#531)
And make sure the target is tested in CI.
Reported-by: Karol Latecki
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -59,10 +59,10 @@ BUILD_DIR = $(BUILD_DIR_BASE)/$(BUILD_TYPE) INSTALL_PREFIX ?= /usr/local -.PHONY: all test pytest pytest-valgrind +.PHONY: all install test pytest pytest-valgrind .PHONY: pre-push clean realclean tags gcov -all: $(BUILD_DIR)/Makefile +all install: $(BUILD_DIR)/Makefile +$(MAKE) -C $(BUILD_DIR) $@ # @@ -127,6 +127,7 @@ pre-push: realclean make test CC=gcc BUILD_TYPE=rel make test CC=gcc make pytest-valgrind + make install DESTDIR=tmp.install GCOVS=$(patsubst %.c,%.c.gcov, $(wildcard lib/*.c)) |