common: add PVE::RS::CalendarEvent for compat

This simply uses the new one as a base in order to help
getting the packages setup initially.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-03-17 13:38:33 +01:00
parent 17367e04e5
commit e6de656805
2 changed files with 7 additions and 2 deletions

View File

@ -13,10 +13,12 @@ DEB=${PACKAGE}_${DEB_VERSION}_${ARCH}.deb
DESTDIR=
PM_DIRS := \
PVE/RS \
Proxmox/Lib \
Proxmox/RS
PM_FILES := \
PVE/RS/CalendarEvent.pm \
Proxmox/Lib/Common.pm \
Proxmox/RS/CalendarEvent.pm
@ -26,10 +28,10 @@ all:
.PHONY: install
install:
install -d -m755 $(DESTDIR)$(PERL_INSTALLVENDORLIB)
for i in $(PM_DIRS); do \
set -e && for i in $(PM_DIRS); do \
install -d -m755 $(DESTDIR)$(PERL_INSTALLVENDORLIB)/$$i; \
done
for i in $(PM_FILES); do \
set -e && for i in $(PM_FILES); do \
install -m644 $$i $(DESTDIR)$(PERL_INSTALLVENDORLIB)/$$i; \
done

View File

@ -0,0 +1,3 @@
use base 'Proxmox::RS::CalendarEvent';
# Compat, Deprecated!
1