chiark / gitweb /
release 115
[elogind.git] / Makefile
index 1c0fda3e0e3ef71f69e1c9a584d64580f562f099..39ffc7dd0e853b6657474bc484b91e89afe10b86 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 
-VERSION = 114
+VERSION = 115
 
 # set this to make use of syslog
 USE_LOG = true
@@ -230,11 +230,11 @@ install-config:
        @ if [ ! -r $(DESTDIR)$(configdir)/udev.conf ]; then \
                $(INSTALL_DATA) etc/udev/udev.conf $(DESTDIR)$(configdir); \
        fi
-       @ if [ ! -r $(DESTDIR)$(configdir)/rules.d/50-udev.rules ]; then \
-               echo; \
-               echo "pick a udev rules file from the etc/udev directory that matches your distribution"; \
-               echo; \
-       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; \
+               fi \
+       done
        @ extras="$(EXTRAS)"; for target in $$extras; do \
                $(MAKE) -C $$target $@ || exit 1; \
        done;