]>
Commit | Line | Data |
---|---|---|
1 | DESTDIR= | |
2 | PREFIX= /usr | |
3 | PERLDIR=${DESTDIR}/${PREFIX}/share/perl5 | |
4 | ||
5 | LIB_SOURCES= \ | |
6 | FirewallSimulator.pm \ | |
7 | Firewall.pm | |
8 | ||
9 | all: | |
10 | ||
11 | .PHONY: install | |
12 | install: | |
13 | install -d -m 0755 ${PERLDIR}/PVE | |
14 | for i in ${LIB_SOURCES}; do install -D -m 0644 $$i ${PERLDIR}/PVE/$$i; done | |
15 | make -C API2 install | |
16 | make -C Service install | |
17 | ||
18 | .PHONY: clean | |
19 | clean: | |
20 | rm -rf *~ | |
21 | make -C API2 clean | |
22 | make -C Service clean |