[pve-devel] applied: [PATCH pve-network 2/2] build: fix erroneous install with empty DESTDIR

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jul 1 10:36:45 CEST 2020


dh calls make in the dh_auto_build step without setting DESTDIR, so the
missing empty default target meant that we'd install all the files to
the build system during dh_auto_build, and then install them again to
the tmp build dir during dh_auto_install. obviously the former is not
something we want to do ;)

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
noticed this while building as non-root..

 PVE/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/Makefile b/PVE/Makefile
index 1fb961d..26e01a4 100644
--- a/PVE/Makefile
+++ b/PVE/Makefile
@@ -1,3 +1,5 @@
+all:
+
 .PHONY: install
 install:
 	make -C Network install
-- 
2.20.1





More information about the pve-devel mailing list