chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c19a4
)
Prep v233.3: Add a traget 'cccc' to Makefile.am
author
Sven Eden
<yamakuzure@gmx.net>
Thu, 20 Jul 2017 06:24:36 +0000
(08:24 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Thu, 20 Jul 2017 06:29:22 +0000
(08:29 +0200)
.gitignore
patch
|
blob
|
history
Makefile.am
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index 02ca4b712996d67bdce8fbf4673af859ae1b0c7d..6b4d5ced252d4bbf249abff56bbdd0a40392de36 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-354,3
+354,4
@@
patches/
/sysctl.d
/coccinelle
mask_po_files.sh
+cccc
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
-.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 \