bump version to 4.0-28
[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         PodParser.pm            \
15         CLIHandler.pm           \
16         RESTHandler.pm          \
17         JSONSchema.pm           \
18         SafeSyslog.pm           \
19         AtomicFile.pm           \
20         INotify.pm              \
21         Tools.pm                \
22         AbstractMigrate.pm      \
23         Exception.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