build: Use MKDIR_P in src/mesa/Makefile.am
authorMatt Turner <mattst88@gmail.com>
Wed, 1 Aug 2012 21:26:41 +0000 (14:26 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 14 Aug 2012 17:54:39 +0000 (10:54 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/Makefile.am

index 20814c088eb5aadacd9dcd2e429a4cc6efa4d84b..f1cd6d67c6e788b37873e22ec5507fe10ad8af36 100644 (file)
@@ -85,11 +85,11 @@ main/api_exec_es2.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py m
          -S $(srcdir)/main/APIspec.xml -V GLES2.0 > $@
 
 program/program_parse.tab.c program/program_parse.tab.h: program/program_parse.y
-       mkdir -p program
+       $(MKDIR_P) program
        $(AM_V_GEN) $(YACC) -v -d --output=program/program_parse.tab.c $<
 
 program/lex.yy.c: program/program_lexer.l
-       mkdir -p program
+       $(MKDIR_P) program
        $(AM_V_GEN) $(LEX) --never-interactive --outfile=$@ $<
 
 noinst_LTLIBRARIES = libmesa.la libmesagallium.la