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