X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FMakefile;h=13de6c605380566724e7bb23a09df37736f5038f;hp=5e500052cc27ee9772a82d839d33b7a79b11d219;hb=HEAD;hpb=b51b16e6f58de4cb385bd461d97866b3d94c93ec diff --git a/src/Makefile b/src/Makefile index 5e50005..2d8bdc4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,27 +6,41 @@ DOCDIR=${PREFIX}/share/doc MAN1DIR=${MANDIR}/man1/ PERLDIR=${PREFIX}/share/perl5 -LIB_SOURCES= \ - Daemon.pm \ - SectionConfig.pm \ - Network.pm \ - ProcFSTools.pm \ - PodParser.pm \ - CLIHandler.pm \ - RESTHandler.pm \ - JSONSchema.pm \ - SafeSyslog.pm \ - AtomicFile.pm \ - INotify.pm \ - Tools.pm \ - AbstractMigrate.pm \ - Exception.pm +LIB_SOURCES = \ + AtomicFile.pm \ + CGroup.pm \ + CLIFormatter.pm \ + CLIHandler.pm \ + CalendarEvent.pm \ + Certificate.pm \ + CpuSet.pm \ + Daemon.pm \ + Exception.pm \ + Format.pm \ + INotify.pm \ + JSONSchema.pm \ + Job/Registry.pm \ + LDAP.pm \ + Network.pm \ + OTP.pm \ + PBSClient.pm \ + PTY.pm \ + ProcFSTools.pm \ + RESTEnvironment.pm \ + RESTHandler.pm \ + SafeSyslog.pm \ + SectionConfig.pm \ + SysFSTools.pm \ + Syscall.pm \ + Systemd.pm \ + Ticket.pm \ + Tools.pm all: -.PHONY: install -install: +install: $(addprefix PVE/,${LIB_SOURCES}) install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE + install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/Job for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done