# can be replaced with `wget -q -O -` if you want
-HTTPCAT = curl
+ifeq "$(V)" "0"
+ HTTPCAT = curl -s
+ STATUS = git status -s
+ Q=@
+else
+ HTTPCAT = curl
+ STATUS = git status
+ Q=
+endif
fetch:
- $(HTTPCAT) http://pci-ids.ucw.cz/v2.2/pci.ids.bz2 | bzcat > pci.ids
- $(HTTPCAT) http://www.linux-usb.org/usb.ids.bz2 | bzcat > usb.ids
- git status
+ $(Q)$(HTTPCAT) http://pci-ids.ucw.cz/v2.2/pci.ids.bz2 | bzcat > pci.ids
+ $(Q)$(HTTPCAT) http://www.linux-usb.org/usb.ids.bz2 | bzcat > usb.ids
+ $(Q)$(STATUS)
PV ?= $(shell date +%Y%m%d)
P = hwids-$(PV)