CalendarEvent.pm: implement parser/utils for systemd like calender exents
[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         Exception.pm
27
28 all:
29
30 .PHONY: install
31 install:
32         install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
33         for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
34
35
36 .PHONY: clean
37 clean:  
38         rm -rf *~ 
39
40 .PHONY: distclean
41 distclean: clean
42