The nsis installer target has to run 'make install' to populate a directory tree with content for the package. Replace the current usage of '/tmp/qemu-nsis' with a location underneath the build directory. This ensures that when a developer cleans their build directory, any left over files from the installer build process are also purged.
Signed-off-by: Daniel P. Berrangé <[email protected]> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de898eab62..362a98d275 100644 --- a/Makefile +++ b/Makefile @@ -907,7 +907,7 @@ endif .PHONY: installer installer: $(INSTALLER) -INSTDIR=/tmp/qemu-nsis +INSTDIR=$(BUILD_DIR)/qemu-nsis-vroot $(INSTALLER): $(SRC_PATH)/qemu.nsi $(MAKE) install prefix=${INSTDIR} -- 2.20.1
