implement AbstractMigrate.pm
[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 AbstractMigrate.pm \
20 Exception.pm
21
22 all:
23
24 .PHONY: install
25 install:
26 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
27 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
28
29
30 .PHONY: clean
31 clean:
32 rm -rf *~
33
34 .PHONY: distclean
35 distclean: clean
36