Is there a way with autotools (automake) to transform this big line
gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_SVGZ=1 -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_LIBCROCO=1 -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/usr/local/share\"" -g -O2 -MT rsvg-shapes.lo -MD -MP -MF .deps/rsvg-shapes.Tpo -c -o rsvg-shapes.lo rsvg-shapes.c
into this
compiling rsvg-shapes.c
Note that the use of librsvg file is just an example.
I saw this question but it’s for Makefile writers, is there a solution for Makefile.am writers
Yes, Do one of the following:
silent-rulesoption as argument to AM_INIT_AUTOMAKEAM_SILENT_RULESmacro from within the configure.ac fileIf this has been done, you can either pass
--enable-silent-rulesto configure, or passV=0at make time to make the build silent.See Automake Silent Rules in the Automake Manual for more information