3d9bdb8f9f64ecb52752e73d17959f86e967e409
[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 ACME.pm \
11 ACME/Challenge.pm \
12 ACME/StandAlone.pm \
13 AtomicFile.pm \
14 Certificate.pm \
15 CLIFormatter.pm \
16 CLIHandler.pm \
17 CalendarEvent.pm \
18 CpuSet.pm \
19 Daemon.pm \
20 Exception.pm \
21 INotify.pm \
22 JSONSchema.pm \
23 Network.pm \
24 OTP.pm \
25 PTY.pm \
26 ProcFSTools.pm \
27 RESTEnvironment.pm \
28 RESTHandler.pm \
29 SafeSyslog.pm \
30 SectionConfig.pm \
31 Subscription.pm \
32 Syscall.pm \
33 Systemd.pm \
34 Ticket.pm \
35 Tools.pm
36
37 all:
38
39 .PHONY: install
40 install:
41 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
42 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/ACME
43 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
44
45
46 .PHONY: clean
47 clean:
48 rm -rf *~
49
50 .PHONY: distclean
51 distclean: clean
52