OSDN Git Service

automake: silence folder creation
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 3 Mar 2014 02:57:40 +0000 (02:57 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 12:50:41 +0000 (12:50 +0000)
There is little gain in printing whenever a folder is created.

v2:
 - Use $(AM_V_at) over @ to have control in verbose builds.
Suggested by Erik Faye-Lund.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/gallium/auxiliary/Makefile.am
src/glsl/Makefile.am
src/mesa/Makefile.am
src/mesa/drivers/dri/Makefile.am

index 2d2d8d4..727ed1f 100644 (file)
@@ -32,17 +32,17 @@ libgallium_la_SOURCES += \
 endif
 
 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
-       $(MKDIR_P) indices
+       $(AM_V_at)$(MKDIR_P) indices
        $(AM_V_GEN) $(PYTHON2) $< > $@
 
 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
-       $(MKDIR_P) indices
+       $(AM_V_at)$(MKDIR_P) indices
        $(AM_V_GEN) $(PYTHON2) $< > $@
 
 util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py
-       $(MKDIR_P) util
+       $(AM_V_at)$(MKDIR_P) util
        $(AM_V_GEN) $(PYTHON2) $< > $@
 
 util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv
-       $(MKDIR_P) util
+       $(AM_V_at)$(MKDIR_P) util
        $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
index 27e180e..c703317 100644 (file)
@@ -178,11 +178,11 @@ glsl_lexer.cpp: glsl_lexer.ll
        $(AM_V_LEX) $(LEX) $(LFLAGS) -o $@ $<
 
 glcpp/glcpp-parse.c glcpp/glcpp-parse.h: glcpp/glcpp-parse.y
-       $(MKDIR_P) $(GLSL_BUILDDIR)/glcpp
+       $(AM_V_at)$(MKDIR_P) $(GLSL_BUILDDIR)/glcpp
        $(AM_V_YACC) $(YACC) $(YFLAGS) -o $@ -p "glcpp_parser_" --defines=$(GLSL_BUILDDIR)/glcpp/glcpp-parse.h $<
 
 glcpp/glcpp-lex.c: glcpp/glcpp-lex.l
-       $(MKDIR_P) $(GLSL_BUILDDIR)/glcpp
+       $(AM_V_at)$(MKDIR_P) $(GLSL_BUILDDIR)/glcpp
        $(AM_V_LEX) $(LEX) $(LFLAGS) -o $@ $<
 
 # Only the parsers (specifically the header files generated at the same time)
index 16ac148..9967ae0 100644 (file)
@@ -150,11 +150,11 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gl.pc
 
 $(BUILDDIR)program/lex.yy.c: program/program_lexer.l
-       $(MKDIR_P) $(builddir)/program
+       $(AM_V_at)$(MKDIR_P) $(builddir)/program
        $(AM_V_GEN) $(LEX) --never-interactive --outfile=$@ $<
 
 $(BUILDDIR)program/program_parse.tab.c $(BUILDDIR)program/program_parse.tab.h: program/program_parse.y
-       $(MKDIR_P) $(builddir)/program
+       $(AM_V_at)$(MKDIR_P) $(builddir)/program
        $(AM_V_GEN) $(YACC) -p "_mesa_program_" -v -d --output=$(BUILDDIR)program/program_parse.tab.c $<
 
 if GEN_ASM_OFFSETS
index a85a5aa..b0d0a1c 100644 (file)
@@ -67,7 +67,7 @@ dri_LTLIBRARIES = mesa_dri_drivers.la
 
 # Add a link to allow setting LD_LIBRARY_PATH/LIBGL_DRIVERS_PATH to /lib of the build tree.
 all-local: mesa_dri_drivers.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
+       $(AM_V_at)$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
        $(AM_V_GEN)ln -f .libs/mesa_dri_drivers.so \
                         $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so;
        $(AM_V_GEN)for i in $(MEGADRIVERS); do \