Imported Upstream version 2.6.0
This commit is contained in:
parent
26fb71b504
commit
459aaf9392
510 changed files with 40508 additions and 18859 deletions
|
|
@ -1,9 +1,20 @@
|
|||
|
||||
EXTRA_DIST = nut-usbinfo.pl device-recorder.sh
|
||||
EXTRA_DIST = nut-usbinfo.pl nut-hclinfo.py device-recorder.sh svn2cl.authors
|
||||
|
||||
website:
|
||||
@if python -c pass; then \
|
||||
echo "Regenerating the HTML and JSON formated HCL tables."; \
|
||||
./nut-hclinfo.py; \
|
||||
else \
|
||||
echo "----------------------------------------------------------------------"; \
|
||||
echo "Warning: Python is not available."; \
|
||||
echo "Skipping the HTML and JSON formated HCL tables regeneration."; \
|
||||
echo "----------------------------------------------------------------------"; \
|
||||
fi
|
||||
|
||||
# only call the USB info script upon "make dist", and if Perl is present
|
||||
dist-hook:
|
||||
@if test -x /usr/bin/perl; then \
|
||||
@if perl -e 1; then \
|
||||
echo "Regenerating the USB helper files."; \
|
||||
$(distdir)/nut-usbinfo.pl; \
|
||||
else \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue