From 840218e0a0747ae741258fad12d420ae59e59d1c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 16 Sep 2008 03:55:12 -0400 Subject: [PATCH] [src/Makefile.am.analysis] Fix typos and improve scripts --- src/Makefile.am.analysis | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am.analysis b/src/Makefile.am.analysis index dad6c36ac..800935ae7 100644 --- a/src/Makefile.am.analysis +++ b/src/Makefile.am.analysis @@ -2,20 +2,18 @@ SPARSE = sparse sparse: @status=true; for f in $(enabled_cairo_sources); do \ - echo sparse $$f; \ + echo $(SPARSE) $$f; \ $(SPARSE) -I$(top_builddir) $(AM_CPPFLAGS) -DHAVE_CONFIG_H $$f || status=false; \ done; $$status SPLINT = splint -badflag splint: @status=true; for f in $(enabled_cairo_sources); do \ - test "$$f" = "`echo "$$f" | sed 's/[.]h$$//'`" || continue; \ - echo sparse $$f; \ + echo $(SPLINT) $$f; \ $(SPLINT) -I$(top_builddir) $(AM_CPPFLAGS) -DHAVE_CONFIG_H $$f || status=false; \ done; $$status UNO = uno uno: @cpp_flags=`echo $(AM_CPPFLAGS) | sed 's/\(-I.*\) /\1 /g'`; \ - files=`echo $(enabled_cairo_sources) | sed 's/[^ ]*\.h//g'`; \ - $(UNO) -I$(top_builddir) $$cpp_flags -DHAVE_CONFIG_H -U__GNUC__ $$files + $(UNO) -I$(top_builddir) $$cpp_flags -DHAVE_CONFIG_H -U__GNUC__ $(enabled_cairo_sources)