[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [libosinfo 1/2] Create udev rules dir before installing rules file



From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>

---
 data/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index bd712d4..6fa12d4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,6 +16,9 @@ BUILT_SOURCES = 95-osinfo.rules
 # since it can easily fail (e.g if `make install` is run unprivileged) and its
 # not a big deal if it does.
 install-data-hook: 95-osinfo.rules
+	-mkdir $(DESTDIR)/lib
+	-mkdir $(DESTDIR)/lib/udev
+	-mkdir $(DESTDIR)/lib/udev/rules.d
 	-cp 95-osinfo.rules $(DESTDIR)/lib/udev/rules.d/
 
 endif
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]