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