summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2013-09-21 12:52:15 -0400
committerGaetan Nadon <memsize@videotron.ca>2013-09-22 13:58:24 -0400
commit51d63a9d82dc4f2407862131bbf3e5d72b4505d3 (patch)
tree8fad1d4449add57f910145992c93239eb73714e2
parent8828fc21cb5b10f06294e460d15c38e234324960 (diff)
Use $(MKDIR_P) in Makefile.am for better code portability
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--src/Makefile.am4
1 files 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