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