[virt-tools-list] [libosinfo 1/2] Create udev rules dir before installing rules file
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Thu Sep 15 15:07:03 UTC 2011
From: "Zeeshan Ali (Khattak)" <zeeshanak at 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
More information about the virt-tools-list
mailing list