summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-07-18 15:56:03 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-18 15:56:03 +0200
commit282988c4f8a85c28468e6442e86efe51dc71cc93 (patch)
treefda0a6ba62adffd8f7c4762b9694ab77e4ea563f /extras
parent41dd741442ab496901c38f6cd38404bd954f1857 (diff)
move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move them out of /etc. Custom rules, and automatically generated rules stay in /etc. All rules are still processed in lexical order, regardless which directory they live in.
Diffstat (limited to 'extras')
-rw-r--r--extras/cdrom_id/Makefile6
-rw-r--r--extras/edd_id/Makefile6
-rw-r--r--extras/fstab_import/Makefile4
-rw-r--r--extras/rule_generator/Makefile6
4 files changed, 11 insertions, 11 deletions
diff --git a/extras/cdrom_id/Makefile b/extras/cdrom_id/Makefile
index caab2beaf5..ec03d1fce2 100644
--- a/extras/cdrom_id/Makefile
+++ b/extras/cdrom_id/Makefile
@@ -51,13 +51,13 @@ clean:
install-bin: all
$(INSTALL) -d $(DESTDIR)$(libudevdir)
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
- $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d
- $(INSTALL_DATA) 60-cdrom_id.rules $(DESTDIR)$(configdir)/rules.d/60-cdrom_id.rules
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)/rules.d
+ $(INSTALL_DATA) 60-cdrom_id.rules $(DESTDIR)$(libudevdir)/rules.d/60-cdrom_id.rules
.PHONY: install-bin
uninstall-bin:
- rm $(DESTDIR)$(libudevdir)/$(PROG)
- - rm $(DESTDIR)$(configdir)/rules.d/60-cdrom_id.rules
+ - rm $(DESTDIR)$(libudevdir)/rules.d/60-cdrom_id.rules
.PHONY: uninstall-bin
install-man:
diff --git a/extras/edd_id/Makefile b/extras/edd_id/Makefile
index f17a5b8c65..0126b859ee 100644
--- a/extras/edd_id/Makefile
+++ b/extras/edd_id/Makefile
@@ -51,13 +51,13 @@ clean:
install-bin: all
$(INSTALL) -d $(DESTDIR)$(libudevdir)
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
- $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d/
- $(INSTALL_DATA) 61-persistent-storage-edd.rules $(DESTDIR)$(configdir)/rules.d/61-persistent-storage-edd.rules
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)/rules.d/
+ $(INSTALL_DATA) 61-persistent-storage-edd.rules $(DESTDIR)$(libudevdir)/rules.d/61-persistent-storage-edd.rules
.PHONY: install-bin
uninstall-bin:
- rm $(DESTDIR)$(libudevdir)/$(PROG)
- - rm $(DESTDIR)$(configdir)/rules.d/61-persistent-storage-edd.rules
+ - rm $(DESTDIR)$(libudevdir)/rules.d/61-persistent-storage-edd.rules
.PHONY: uninstall-bin
install-man:
diff --git a/extras/fstab_import/Makefile b/extras/fstab_import/Makefile
index 23448f3217..3f65aa3f64 100644
--- a/extras/fstab_import/Makefile
+++ b/extras/fstab_import/Makefile
@@ -50,12 +50,12 @@ clean:
install-bin: all
$(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
- $(INSTALL_DATA) 79-fstab_import.rules $(DESTDIR)$(configdir)/rules.d/79-fstab_import.rules
+ $(INSTALL_DATA) 79-fstab_import.rules $(DESTDIR)$(libudevdir)/rules.d/79-fstab_import.rules
.PHONY: install-bin
uninstall-bin:
- rm $(DESTDIR)$(libudevdir)/$(PROG)
- - rm $(DESTDIR)$(configdir)/rules.d/79-fstab_import.rules
+ - rm $(DESTDIR)$(libudevdir)/rules.d/79-fstab_import.rules
.PHONY: uninstall-bin
install-man:
diff --git a/extras/rule_generator/Makefile b/extras/rule_generator/Makefile
index d6f1265eb9..e236ca77f0 100644
--- a/extras/rule_generator/Makefile
+++ b/extras/rule_generator/Makefile
@@ -41,11 +41,11 @@ install-bin: all
$(INSTALL_DATA) rule_generator.functions $(DESTDIR)$(libudevdir)/rule_generator.functions
$(INSTALL_SCRIPT) write_cd_rules $(DESTDIR)$(libudevdir)/write_cd_rules
$(INSTALL_SCRIPT) write_net_rules $(DESTDIR)$(libudevdir)/write_net_rules
- $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)/rules.d
$(INSTALL_DATA) 75-cd-aliases-generator.rules \
- $(DESTDIR)$(configdir)/rules.d/75-cd-aliases-generator.rules
+ $(DESTDIR)$(libudevdir)/rules.d/75-cd-aliases-generator.rules
$(INSTALL_DATA) 75-persistent-net-generator.rules \
- $(DESTDIR)$(configdir)/rules.d/75-persistent-net-generator.rules
+ $(DESTDIR)$(libudevdir)/rules.d/75-persistent-net-generator.rules
.PHONY: install-bin
uninstall-bin: