we have a 1:1 copy of that code in pve-manager's PVE::API2::Scan, which we can avoid by using a common module form pvesm CLI and the API. This is the first basic step of dropping the code duplication in pve-manager. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 lines
187 B
Makefile
7 lines
187 B
Makefile
|
|
SOURCES= Content.pm Status.pm Config.pm PruneBackups.pm Scan.pm
|
|
|
|
.PHONY: install
|
|
install:
|
|
for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/API2/Storage/$$i; done
|