[pve-devel] [PATCH qemu-server v2 1/8] improve PVE/API2/Makefile

Dominik Csapak d.csapak at proxmox.com
Thu Feb 15 14:04:46 CET 2018


improve whitespace and actually use SOURCES variable

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v1:
* use SOURCES instead of deleting it

 PVE/API2/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/PVE/API2/Makefile b/PVE/API2/Makefile
index 3fd85e2..7d373c3 100644
--- a/PVE/API2/Makefile
+++ b/PVE/API2/Makefile
@@ -1,6 +1,7 @@
-SOURCES=           \
-	Qemu.pm 
+SOURCES=	\
+	Qemu.pm
 
 .PHONY: install
 install:
-	install -D -m 0644 Qemu.pm ${DESTDIR}${PERLDIR}/PVE/API2/Qemu.pm
+	install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/API2
+	install -m 0644 ${SOURCES} ${DESTDIR}${PERLDIR}/PVE/API2/
-- 
2.11.0





More information about the pve-devel mailing list