1 SNMP_MIBS_DIR
= /usr
/share
/snmp
/mibs
4 MIBSDIR
= /usr
/share
/snmp
/mibs
5 ###################################
6 SCRIPTS
= vzt-pductl vzt-kernel-install vzt-pxe-boot
7 CONFIGS
= vzt-pductl.cfg vzt-pxe-boot.cfg kernel-install.cfg.example
10 @if
[ ! -d
"$(SNMP_MIBS_DIR)" ]; then \
11 echo
"Error: seems net-snmp or net-snmp-utils not intalled"; \
16 for file in
$(SCRIPTS
); do \
17 install -m
755 $$file $(SBINDIR
)/$$file; \
21 for file in
$(CONFIGS
); do \
22 install -m
755 .
$(CONFDIR
)/$$file $(CONFDIR
)/$$file; \
26 cp .
$(MIBSDIR
)/* $(MIBSDIR
)/
28 install: installmibs installbins installconf
30 .PHONY
: all check install