xfree86: Use $(MKDIR_P) for better code portability
authorGaetan Nadon <memsize@videotron.ca>
Sat, 28 Sep 2013 19:26:37 +0000 (15:26 -0400)
committerKeith Packard <keithp@keithp.com>
Fri, 4 Oct 2013 21:09:37 +0000 (14:09 -0700)
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.

Reviewed-By: Matt Dew <marcoz@osource.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
hw/xfree86/Makefile.am

index 3410e4a..aed631b 100644 (file)
@@ -84,9 +84,8 @@ os-support/solaris/solaris-@SOLARIS_INOUT_ARCH@.il:
         $(MAKE) $(AM_MAKEFLAGS) solaris-@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