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:
parent
16511863d9
commit
554074c9ca
6
Makefile
6
Makefile
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user