aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-02-17 15:01:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-02-17 15:01:38 +0100
commit435f6bcc864c25d06132154b91f9eb8ba07a6489 (patch)
tree5547ec04602cb6f51126b7234713a44ab7dc3e88 /docs
parente8748bc1d70c1c755240327c3c8ee2949d55045f (diff)
examples/make: add 'checksrc' target
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index a7721cc00..dec53f528 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -61,3 +61,6 @@ endif
include Makefile.inc
all: $(check_PROGRAMS)
+
+checksrc:
+ @@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/docs/examples *.c