[PATCH xserver 5/6] xfree86: Use $(MKDIR_P) for better code portability
Gaetan Nadon
memsize at videotron.ca
Sat Sep 21 08:47:34 PDT 2013
Still true that we should not use the lower case $(mkdir_p) version.
However, remove the 2005 comment as the MKDIR_P is widely used now.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
hw/xfree86/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index 3410e4a..aed631b 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -84,9 +84,8 @@ os-support/solaris/solaris- at SOLARIS_INOUT_ARCH@.il:
$(MAKE) $(AM_MAKEFLAGS) solaris- at SOLARIS_INOUT_ARCH@.il
endif
-# do not use $(mkdir_p) if you want automake 1.7 to work
install-data-local:
- mkdir -p $(DESTDIR)$(logdir)
+ $(AM_V_GEN)$(MKDIR_P) $(DESTDIR)$(logdir)
if CYGWIN
$(INSTALL_DATA) libXorg.exe.a $(DESTDIR)$(libdir)/libXorg.exe.a
endif
--
1.7.9.5
More information about the xorg-devel
mailing list