]> git.proxmox.com Git - pve-common.git/blame - data/Makefile
fix run_command: restore umask correctly
[pve-common.git] / data / Makefile
CommitLineData
e143e9d8
DM
1
2PREFIX=/usr
3BINDIR=${PREFIX}/bin
4MANDIR=${PREFIX}/share/man
5DOCDIR=${PREFIX}/share/doc
6MAN1DIR=${MANDIR}/man1/
7PERLDIR=${PREFIX}/share/perl5
8
9LIB_SOURCES= \
212b08e8 10 SectionConfig.pm \
b9436cda 11 Network.pm \
e143e9d8
DM
12 ProcFSTools.pm \
13 PodParser.pm \
14 CLIHandler.pm \
15 RESTHandler.pm \
16 JSONSchema.pm \
17 SafeSyslog.pm \
18 AtomicFile.pm \
19 INotify.pm \
20 Tools.pm \
643adc82 21 AbstractMigrate.pm \
e143e9d8
DM
22 Exception.pm
23
24all:
25
26.PHONY: install
27install:
28 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
29 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
30
31
32.PHONY: clean
33clean:
34 rm -rf *~
35
36.PHONY: distclean
37distclean: clean
38