]> git.proxmox.com Git - pve-common.git/blob - src/Makefile
c81991d518d77efde9bfc1e691a29be20a9ba08d
[pve-common.git] / src / Makefile
1
2 PREFIX=/usr
3 BINDIR=${PREFIX}/bin
4 MANDIR=${PREFIX}/share/man
5 DOCDIR=${PREFIX}/share/doc
6 MAN1DIR=${MANDIR}/man1/
7 PERLDIR=${PREFIX}/share/perl5
8
9 LIB_SOURCES = \
10 AtomicFile.pm \
11 Certificate.pm \
12 CLIHandler.pm \
13 CalendarEvent.pm \
14 CpuSet.pm \
15 Daemon.pm \
16 Exception.pm \
17 INotify.pm \
18 JSONSchema.pm \
19 Network.pm \
20 OTP.pm \
21 PTY.pm \
22 ProcFSTools.pm \
23 RESTEnvironment.pm \
24 RESTHandler.pm \
25 SafeSyslog.pm \
26 SectionConfig.pm \
27 Subscription.pm \
28 Syscall.pm \
29 Ticket.pm \
30 Tools.pm
31
32 all:
33
34 .PHONY: install
35 install:
36 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
37 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
38
39
40 .PHONY: clean
41 clean:
42 rm -rf *~
43
44 .PHONY: distclean
45 distclean: clean
46