trim event and check if empty
[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 CalendarEvent.pm \
11 OTP.pm \
12 Ticket.pm \
13 RESTEnvironment.pm \
14 CpuSet.pm \
15 Daemon.pm \
16 SectionConfig.pm \
17 Network.pm \
18 ProcFSTools.pm \
19 CLIHandler.pm \
20 RESTHandler.pm \
21 JSONSchema.pm \
22 SafeSyslog.pm \
23 AtomicFile.pm \
24 INotify.pm \
25 Tools.pm \
26 Syscall.pm \
27 Exception.pm
28
29 all:
30
31 .PHONY: install
32 install:
33 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
34 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
35
36
37 .PHONY: clean
38 clean:
39 rm -rf *~
40
41 .PHONY: distclean
42 distclean: clean
43