Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: ffa68348491b46319760ad2459a297ec3897f611
Parent: ada14ea123c508224f758cd2eb8c5a51c3c19dc0
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Tue Feb 8 15:18:08 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Tue Feb 8 15:18:08 2011 +0100
udev rules: install in /lib/udev/rules.d
now all major distributions have switched to /lib/.. from /etc..
we can safely move upstream too
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
make/install.mk | 4 ++--
make/uninstall.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/make/install.mk b/make/install.mk
index fa6ac92..e3c1c9d 100644
--- a/make/install.mk
+++ b/make/install.mk
@@ -41,10 +41,10 @@ ifdef INITDT
done
endif
ifdef UDEVT
- install -d ${DESTDIR}/etc/udev/rules.d
+ install -d ${DESTDIR}/lib/udev/rules.d
set -e; \
for i in ${UDEVT}; do \
- install -m644 $(S)/$$i ${DESTDIR}/etc/udev/rules.d; \
+ install -m644 $(S)/$$i ${DESTDIR}/lib/udev/rules.d; \
done
endif
ifdef DOCS
diff --git a/make/uninstall.mk b/make/uninstall.mk
index 01e8d2d..6f84727 100644
--- a/make/uninstall.mk
+++ b/make/uninstall.mk
@@ -24,7 +24,7 @@ ifdef INITDT
${UNINSTALL} ${INITDT} ${initddir}
endif
ifdef UDEVT
- ${UNINSTALL} ${UDEVT} ${DESTDIR}/etc/udev/rules.d
+ ${UNINSTALL} ${UDEVT} ${DESTDIR}/lib/udev/rules.d
endif
ifdef DOCS
${UNINSTALL} ${DOCS} ${docdir}