[pve-devel] applied: [PATCH qemu-server 1/8] refactor Makefile for PVE/QemuServer/ directory

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jun 11 11:01:29 CEST 2018


On 6/7/18 1:16 PM, Dominik Csapak wrote:
> this makes it easier to add new files there
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  PVE/QemuServer/Makefile | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)
> 
> diff --git a/PVE/QemuServer/Makefile b/PVE/QemuServer/Makefile
> index 1aecc61..0d78324 100644
> --- a/PVE/QemuServer/Makefile
> +++ b/PVE/QemuServer/Makefile
> @@ -1,8 +1,10 @@
> +SOURCES=PCI.pm		\
> +	USB.pm		\
> +	Memory.pm	\
> +	ImportDisk.pm	\
> +	OVF.pm		\
> +	Cloudinit.pm	\
> +
>  .PHONY: install
> -install:
> -	install -D -m 0644 PCI.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/PCI.pm
> -	install -D -m 0644 USB.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/USB.pm
> -	install -D -m 0644 Memory.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/Memory.pm
> -	install -D -m 0644 ImportDisk.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/ImportDisk.pm
> -	install -D -m 0644 OVF.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/OVF.pm
> -	install -D -m 0644 Cloudinit.pm ${DESTDIR}${PERLDIR}/PVE/QemuServer/Cloudinit.pm
> +install: ${SOURCES}
> +	for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/QemuServer/$$i; done
> 

applied




More information about the pve-devel mailing list