remove PodParser.pm, implement keyAlias feature
[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         Daemon.pm               \
11         SectionConfig.pm        \
12         Network.pm              \
13         ProcFSTools.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         AbstractConfig.pm
24
25 all:
26
27 .PHONY: install
28 install:
29         install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
30         for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
31
32
33 .PHONY: clean
34 clean:  
35         rm -rf *~ 
36
37 .PHONY: distclean
38 distclean: clean
39