pve-manager/PVE/API2/Makefile
Aaron Lauterer f26c7b54e0 fix #2609 api: backupinfo: add non job specific endpoint
Adds a new api endpoint at cluster/backupinfo for cluster wide backup
stuff. This is necessary because cluster/backup expects a backup job ID
at the next level and thus other endpoints are hard to impossible to
implement under that hierarchy.

The only api endpoint available for now is the `not_backed_up` which
returns a list of all guests which are not covered by any backup job.

The top level index endpoint is left unsused for now to be available for
a more generic summary endpoint in the future.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-07-09 14:12:59 +02:00

41 lines
711 B
Makefile

include ../../defines.mk
SUBDIRS=Hardware Ceph Cluster
PERLSOURCE = \
Replication.pm \
ReplicationConfig.pm \
Ceph.pm \
APT.pm \
Subscription.pm \
VZDump.pm \
Backup.pm \
BackupInfo.pm \
Cluster.pm \
HAConfig.pm \
Nodes.pm \
Pool.pm \
Tasks.pm \
Network.pm \
Certificates.pm \
ACME.pm \
ACMEAccount.pm \
ACMEPlugin.pm \
NodeConfig.pm \
Scan.pm \
Hardware.pm \
Services.pm
all:
.PHONY: clean
clean:
rm -rf *~
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
.PHONY: install
install: ${PERLSOURCE}
install -d ${PERLLIBDIR}/PVE/API2
install -m 0644 ${PERLSOURCE} ${PERLLIBDIR}/PVE/API2
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done