1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-29 21:55:25 +03:00

only install *.rules

This commit is contained in:
Harald Hoyer 2007-09-11 17:20:54 +02:00 committed by Kay Sievers
parent 16511863d9
commit 554074c9ca

View File

@ -230,9 +230,9 @@ install-config:
@ if [ ! -r $(DESTDIR)$(configdir)/udev.conf ]; then \ @ if [ ! -r $(DESTDIR)$(configdir)/udev.conf ]; then \
$(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir); \ $(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir); \
fi fi
@ for i in $(shell ls -1 etc/udev/rules.d); do \ @ for i in etc/udev/rules.d/*.rules; do \
if [ ! -r $(DESTDIR)$(configdir)/rules.d/$$i ]; then \ if [ ! -r $(DESTDIR)$(configdir)/rules.d/$$(basename $$i) ]; then \
$(INSTALL_DATA) etc/udev/rules.d/$$i $(DESTDIR)$(configdir)/rules.d; \ $(INSTALL_DATA) $$i $(DESTDIR)$(configdir)/rules.d; \
fi \ fi \
done done
@ extras="$(EXTRAS)"; for target in $$extras; do \ @ extras="$(EXTRAS)"; for target in $$extras; do \