[Libosinfo] [libosinfo 1/2] build: Use $(MKDIR_P) rather than mkdir -p

Christophe Fergeau cfergeau at redhat.com
Thu Apr 4 08:26:04 UTC 2013


---
 data/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index e1c8ade..fa51571 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -33,7 +33,7 @@ BUILT_SOURCES = 95-osinfo.rules
 	sed 's,\@bindir\@,$(exec_prefix)/bin,' $< > $@
 
 95-osinfo.rules-install: 95-osinfo.rules
-	mkdir -p $(DESTDIR)$(UDEV_RULESDIR)
+	$(MKDIR_P) $(DESTDIR)$(UDEV_RULESDIR)
 	$(INSTALL) -m 0644 95-osinfo.rules $(DESTDIR)$(UDEV_RULESDIR)
 
 INSTALL_DATA_HOOK_DEPS += 95-osinfo.rules-install
-- 
1.8.1.4




More information about the Libosinfo mailing list