Imported Upstream version 2.7.4

This commit is contained in:
Laurent Bigonville 2016-07-18 02:11:41 +02:00
parent fd413a3168
commit c9cb2187ee
290 changed files with 7473 additions and 2607 deletions

View file

@ -17,7 +17,7 @@
SUBDIRS = . nut-scanner
EXTRA_DIST = nut-usbinfo.pl nut-recorder.sh nut-ddl-dump.sh \
gitlog2changelog.py nut-snmpinfo.py
gitlog2changelog.py nut-snmpinfo.py driver-list-format.sh
all: nut-scanner-deps
@ -49,6 +49,7 @@ nut-scanner-deps:
# call the USB info script upon "make dist", and if Perl is present
# call the SNMP info script upon "make dist", and if Python is present
# and call both for building nut-scanner
# Also ensure that data/driver.list is well formatted
dist-hook:
@if python -c 1; then \
echo "Regenerating the SNMP helper files."; \
@ -70,4 +71,6 @@ dist-hook:
echo "----------------------------------------------------------------------"; \
fi
@$(distdir)/driver-list-format.sh;
.PHONY: nut-scanner-deps nut-scanner-snmp-deps nut-scanner-usb-deps