1 SNMP_MIBS_DIR
= /usr
/share
/snmp
/mibs
4 MIBSDIR
= /usr
/share
/snmp
/mibs
5 ###################################
6 SCRIPTS
= vzt-kernel-install vzt-pxe-boot vzt-show-list \
7 vzt-pductl vzt-set-kernel vzt-vzlist2quilt
8 CONFIGS
= vzt-pductl.cfg vzt-pxe-boot.cfg kernel-install.cfg.example
11 @if
[ ! -d
"$(SNMP_MIBS_DIR)" ]; then \
12 echo
"Error: seems net-snmp or net-snmp-utils not intalled"; \
17 for file in
$(SCRIPTS
); do \
18 install -m
755 $$file $(SBINDIR
)/$$file; \
22 for file in
$(CONFIGS
); do \
23 install -m
755 .
$(CONFDIR
)/$$file $(CONFDIR
)/$$file; \
27 cp .
$(MIBSDIR
)/* $(MIBSDIR
)/
29 install: installmibs installbins installconf
31 .PHONY
: all check install