aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-05-30 11:23:27 -0400
committerMike Frysinger <vapier@gentoo.org>2014-05-30 11:23:27 -0400
commit4d8322fb48d4956ab12c927b63deeb832f05f697 (patch)
tree3599de1f28aef3b23031697de310ceaca34a8568
parentignore compress data files (diff)
downloadhwids-4d8322fb48d4956ab12c927b63deeb832f05f697.tar.gz
hwids-4d8322fb48d4956ab12c927b63deeb832f05f697.tar.bz2
hwids-4d8322fb48d4956ab12c927b63deeb832f05f697.zip
call `install` once for each set of data files
-rw-r--r--Makefile8
1 files 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