remove AbstractConfig and AbstractMigrate
[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         Ticket.pm               \
11         RESTEnvironment.pm      \
12         CpuSet.pm               \
13         Daemon.pm               \
14         SectionConfig.pm        \
15         Network.pm              \
16         ProcFSTools.pm          \
17         CLIHandler.pm           \
18         RESTHandler.pm          \
19         JSONSchema.pm           \
20         SafeSyslog.pm           \
21         AtomicFile.pm           \
22         INotify.pm              \
23         Tools.pm                \
24         Exception.pm
25
26 all:
27
28 .PHONY: install
29 install:
30         install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
31         for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
32
33
34 .PHONY: clean
35 clean:  
36         rm -rf *~ 
37
38 .PHONY: distclean
39 distclean: clean
40