]> git.proxmox.com Git - pve-common.git/blob - data/Makefile
67759f97d6c78c38911b84b443515b262b2f3ec5
[pve-common.git] / data / 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 Network.pm \
11 ProcFSTools.pm \
12 PodParser.pm \
13 CLIHandler.pm \
14 RESTHandler.pm \
15 JSONSchema.pm \
16 SafeSyslog.pm \
17 AtomicFile.pm \
18 INotify.pm \
19 Tools.pm \
20 AbstractMigrate.pm \
21 Exception.pm
22
23 all:
24
25 .PHONY: install
26 install:
27 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
28 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
29
30
31 .PHONY: clean
32 clean:
33 rm -rf *~
34
35 .PHONY: distclean
36 distclean: clean
37