]> git.proxmox.com Git - pve-common.git/commitdiff
buildsys: avoid phony 'install' target by setting actual pre-requisites
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 12 Nov 2022 14:41:29 +0000 (15:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 12 Nov 2022 14:42:29 +0000 (15:42 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Makefile

index 5c85c8830f660e216a9fb2bea0d62d30e316e5b4..4e79c5d5eaa2d6d54eb2e2fe97478996364bac67 100644 (file)
@@ -37,8 +37,7 @@ LIB_SOURCES = \
 
 all:
 
-.PHONY: install
-install:
+install: $(addprefix PVE/,${LIB_SOURCES})
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
        for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done