runtest.pl: use lib '.' - because newer perl does not have that by default
[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 Ticket.pm \
11 RESTEnvironment.pm \
12 CpuSet.pm \
13 Daemon.pm \
14 SectionConfig.pm \
15 Network.pm \
16 ProcFSTools.pm \
17 CLIHandler.pm \
18 RESTHandler.pm \
19 JSONSchema.pm \
20 SafeSyslog.pm \
21 AtomicFile.pm \
22 INotify.pm \
23 Tools.pm \
24 AbstractMigrate.pm \
25 Exception.pm \
26 AbstractConfig.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