Add helper targets for updating PCI and USB ID lists.
authorAdam Jackson <ajax@benzedrine.nwnk.net>
Mon, 5 Nov 2007 15:41:14 +0000 (10:41 -0500)
committerAdam Jackson <ajax@benzedrine.nwnk.net>
Mon, 5 Nov 2007 15:41:14 +0000 (10:41 -0500)
Also mark a bunch of stuff .PHONY for correctness.

Makefile

index f3c701ca708941b65e3862824f192cbdcd77cefd..0b9d68d98fa4e3073fdf71ec7d18fc3a004fe851 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ CVSTAG = $(NAME)-r$(subst .,-,$(VERSION))
 
 FILES = MonitorsDB pci.ids upgradelist usb.ids videodrivers
 
+.PHONY: all install tag force-tag check create-archive archive srpm-x clean clog new-pci-ids new-usb-ids
+
 all: 
 
 install:
@@ -69,3 +71,9 @@ clean:
 
 clog: hwdata.spec
        @sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $< | tee $@
+
+new-usb-ids:
+       @curl -O http://www.linux-usb.org/usb.ids
+
+new-pci-ids:
+       @curl -O http://pciids.sourceforge.net/pci.ids