summaryrefslogtreecommitdiff
path: root/src/Makefile.am.analysis
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-16 03:55:12 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-16 03:58:22 -0400
commit840218e0a0747ae741258fad12d420ae59e59d1c (patch)
treeda30dbb9f0563485fe1e74eb34bdc55e59d526c1 /src/Makefile.am.analysis
parent49c8c62040cdeb6b280392da9355593e1e8292fe (diff)
[src/Makefile.am.analysis] Fix typos and improve scripts
Diffstat (limited to 'src/Makefile.am.analysis')
-rw-r--r--src/Makefile.am.analysis8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Makefile.am.analysis b/src/Makefile.am.analysis
index dad6c36a..800935ae 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)