pkg: reorder man3 files in manifest
[unleashed.git] / share / hwdata / Makefile
blobf8d73e5b8aaf02782239432d0dec1f8300bb7169
1 HWDATADIR= ${SHAREDIR}/hwdata
3 FILES= efi.fixes \
4 pci.ids \
5 usb.ids
7 # URLs for PCI IDs and USB IDs
8 PCIURL=http://pci-ids.ucw.cz/v2.2/pci.ids
9 USBURL=http://www.linux-usb.org/usb.ids
11 WGET=wget
13 all:
15 proginstall:
16 .for f in ${FILES}
17 [ -d ${DESTDIR}${HWDATADIR} ] || \
18 ${INSTALL} -d ${PROG_INSTALL_OWN} -m 755 ${DESTDIR}${HWDATADIR}
19 ${INSTALL} ${COPY} ${PROG_INSTALL_OWN} -m 444 \
20 ${f} ${DESTDIR}${HWDATADIR}
21 .endfor
23 update:
24 $(WGET) -O pci.ids $(PCIURL)
25 $(WGET) -O usb.ids $(USBURL)
26 sed -e '/^$$/,$$ d' < pci.ids > THIRDPARTYLICENSE.pciids
27 cat THIRDPARTYLICENSE.pciids.tmpl >> THIRDPARTYLICENSE.pciids
29 .PHONY: update
31 .include <prog.mk>