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