summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-04-27 10:23:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-04-27 10:23:27 +0200
commit45de0579207becbf742c56e21f44446abde2b10e (patch)
treee0f9c7f3cd694f294fe39abbb7daf34e1e4ccb49 /Makefile.am
parentaa87f0ab15c15784c4d7ee55e8c5972f5353b41e (diff)
downloadcurl-45de0579207becbf742c56e21f44446abde2b10e.tar.gz
make: add 'checksrc' as target to check code style
The make target checksrc now works in the root makefile and in both the src and lib directories. It is also run automatically on "all" if configure --enable-debug was used.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index e56201000..177b0ea61 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -155,3 +155,7 @@ ca-bundle: lib/mk-ca-bundle.pl
ca-firefox: lib/firefox-db2pem.sh
@echo "generate a fresh ca-bundle.crt"
./lib/firefox-db2pem.sh lib/ca-bundle.crt
+
+checksrc:
+ cd lib && $(MAKE) checksrc
+ cd src && $(MAKE) checksrc