[PATCH libXt] Use $(MKDIR_P) in Makefile.am for better code portability

Gaetan Nadon memsize at videotron.ca
Sat Sep 21 09:58:58 PDT 2013


Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 src/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index a466ae5..8c1a664 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -98,8 +98,8 @@ $(BUILT_HEADER): $(BUILT_SOURCE)
 
 $(BUILT_SOURCE):
 	$(AM_V_GEN)$(top_builddir)/util/makestrs -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c
-	$(AM_V_at)mkdir -p $(top_builddir)/src
-	$(AM_V_at)mkdir -p $(top_builddir)/include/X11
+	$(AM_V_at)$(MKDIR_P) $(top_builddir)/src
+	$(AM_V_at)$(MKDIR_P) $(top_builddir)/include/X11
 	$(AM_V_at)cp StringDefs.h $(top_builddir)/include/X11
 	$(AM_V_at)cp Shell.h $(top_builddir)/include/X11
 	$(AM_V_at)rm StringDefs.h Shell.h
-- 
1.7.9.5



More information about the xorg-devel mailing list