From 4d8322fb48d4956ab12c927b63deeb832f05f697 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 May 2014 11:23:27 -0400 Subject: [PATCH] call `install` once for each set of data files --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 31bbbd1..6b31f9f 100644 --- a/Makefile +++ b/Makefile @@ -54,13 +54,9 @@ install-base: compress mkdir -p $(DESTDIR)$(DOCDIR) install -p -m 644 README.md $(DESTDIR)$(DOCDIR) mkdir -p $(DESTDIR)$(MISCDIR) - for file in usb.ids pci.ids usb.ids.gz pci.ids.gz oui.txt iab.txt; do \ - install -p -m 644 $$file $(DESTDIR)$(MISCDIR); \ - done + install -p -m 644 usb.ids pci.ids usb.ids.gz pci.ids.gz oui.txt iab.txt $(DESTDIR)$(MISCDIR) install-hwdb: mkdir -p $(DESTDIR)$(HWDBDIR) - for file in udev/*.hwdb; do \ - install -p -m 644 $$file $(DESTDIR)$(HWDBDIR); \ - done + install -p -m 644 udev/*.hwdb $(DESTDIR)$(HWDBDIR) udevadm hwdb --root $(DESTDIR) --update -- 2.25.1