diff options
author | Harald Hoyer <harald@redhat.com> | 2007-09-11 17:20:54 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-09-11 17:20:54 +0200 |
commit | 554074c9ca2f1b8876176887e4656d06b870f2cd (patch) | |
tree | 78b59377016ebfca054f886eeb25542c6f57f574 | |
parent | 16511863d928e7fd82f15ae64850ab21e74f0f16 (diff) |
only install *.rules
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -230,9 +230,9 @@ install-config: @ if [ ! -r $(DESTDIR)$(configdir)/udev.conf ]; then \ $(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir); \ fi - @ for i in $(shell ls -1 etc/udev/rules.d); do \ - if [ ! -r $(DESTDIR)$(configdir)/rules.d/$$i ]; then \ - $(INSTALL_DATA) etc/udev/rules.d/$$i $(DESTDIR)$(configdir)/rules.d; \ + @ for i in etc/udev/rules.d/*.rules; do \ + if [ ! -r $(DESTDIR)$(configdir)/rules.d/$$(basename $$i) ]; then \ + $(INSTALL_DATA) $$i $(DESTDIR)$(configdir)/rules.d; \ fi \ done @ extras="$(EXTRAS)"; for target in $$extras; do \ |