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