From: Daniel Stenberg Date: Wed, 17 Feb 2016 14:01:38 +0000 (+0100) Subject: examples/make: add 'checksrc' target X-Git-Tag: curl-7_48_0~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=435f6bcc864c25d06132154b91f9eb8ba07a6489;p=curl examples/make: add 'checksrc' target --- 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, , et al. +# Copyright (C) 1998 - 2016, Daniel Stenberg, , 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