fix 110.fw example
[pve-firewall.git] / src / Makefile
CommitLineData
bb272dd3
DM
1
2PREFIX=/usr
3BINDIR=${PREFIX}/bin
4SBINDIR=${PREFIX}/bin
5MANDIR=${PREFIX}/share/man
6DOCDIR=${PREFIX}/share/doc
7MAN1DIR=${MANDIR}/man1/
8PERLDIR=${PREFIX}/share/perl5
9
10LIB_SOURCES= \
11 Firewall.pm
12
13all:
14
15.PHONY: install
16install:
17 install -d -m 0755 ${DESTDIR}/${SBINDIR}
18 install -m 0755 pvefw ${DESTDIR}/${SBINDIR}
19 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
20 for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
21
22
23.PHONY: clean
24clean:
25 rm -rf *~
26
27.PHONY: distclean
28distclean: clean
29