chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v233.3: Add a traget 'cccc' to Makefile.am
[elogind.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 7e47d3926aa2ccad0aeea0def5a2bbe68bfbfb80..977d44d31f2fde2395d54ca12a0994b5458d2e53 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1600,7
+1600,11
@@
install-tests: $(tests) $(TEST_DATA_FILES)
install -D -m 644 $(top_srcdir)/$$f $(DESTDIR)/$(testsdir)/testdata/$${f#test/}; \
done
install -D -m 644 $(top_srcdir)/$$f $(DESTDIR)/$(testsdir)/testdata/$${f#test/}; \
done
-.PHONY: cppcheck
+.PHONY: cccc cppcheck
+cccc: all
+ cccc --outdir=$(top_builddir)/cccc \
+ `find $(top_srcdir)/src/ -name '*.h' -or -name '*.c'`
+
cppcheck:
cppcheck --enable=all -q \
-I $(top_srcdir)/src \
cppcheck:
cppcheck --enable=all -q \
-I $(top_srcdir)/src \