add a bunch of Hyundai and ImageQuest monitors
[oweals/hwdata.git] / Makefile
index 25ce80295eeb87321f4a59d4dcffa3df1c92a376..cb87b1952fba23080c5ee4c5a55fb8f1212a4763 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,10 +47,10 @@ changelog:
        @(GIT_DIR=.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog || rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
 
 check:
-       [ -x /sbin/lspci ] && /sbin/lspci -i pci.ids > /dev/null
-       ./check-pci-ids.py
+       @[ -x /sbin/lspci ] && /sbin/lspci -i pci.ids > /dev/null || { echo "FAILURE: /sbin/lspci -i pci.ids"; exit 1; } && echo "OK: /sbin/lspci -i pci.ids"
+       @./check-pci-ids.py || { echo "FAILURE: ./check-pci-ids.py"; exit 1; } && echo "OK: ./check-pci-ids.py"
        @: videodrivers is tab-separated
-       [ `grep -vc '   ' videodrivers` -eq 0 ]
+       @[ `grep -vc '  ' videodrivers` -eq 0 ] || { echo "FAILURE: videodrivers not TAB separated"; exit 1; } && echo "OK: videodrivers"
 
 create-archive:
        @rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar*  2>/dev/null