Code

Makefile.am: run sparse once
authorMax Kellermann <max@duempel.org>
Wed, 10 Jun 2009 22:23:08 +0000 (00:23 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 10 Jun 2009 22:23:08 +0000 (00:23 +0200)
Makefile.am

index 26880ec53d38612e06ca7842016ec3b9c3ceffc4..911b19ec1b515cdc436ebbfc54045d85a29c1cb8 100644 (file)
@@ -142,10 +142,7 @@ SPARSE_FLAGS = -Wdecl -Wdefault-bitfield-sign -Wdo-while -Wenum-mismatch \
        -D__transparent_union__=unused
 
 sparse-check:
-       for i in $(src_ncmpc_SOURCES); \
-       do \
-               $(SPARSE) -I. -I.. -I/usr/lib/gcc/$(shell gcc -dumpmachine)/4.3/include -I/usr/lib/gcc/$(shell gcc -dumpmachine)/4.3/include-fixed $(AM_CPPFLAGS) $(SPARSE_FLAGS) $(srcdir)/$$i || exit; \
-       done
+       $(SPARSE) -I. -I/usr/lib/gcc/$(shell gcc -dumpmachine)/4.3/include -I/usr/lib/gcc/$(shell gcc -dumpmachine)/4.3/include-fixed $(AM_CPPFLAGS) $(SPARSE_FLAGS) $(src_ncmpc_SOURCES)
 
 #
 # lyrics plugins