diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-05-30 11:23:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-05-30 11:23:27 -0400 |
commit | 4d8322fb48d4956ab12c927b63deeb832f05f697 (patch) | |
tree | 3599de1f28aef3b23031697de310ceaca34a8568 | |
parent | ignore compress data files (diff) | |
download | hwids-4d8322fb48d4956ab12c927b63deeb832f05f697.tar.gz hwids-4d8322fb48d4956ab12c927b63deeb832f05f697.tar.bz2 hwids-4d8322fb48d4956ab12c927b63deeb832f05f697.zip |
call `install` once for each set of data files
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |