]> granicus.if.org Git - curl/commitdiff
examples/make: add 'checksrc' target
authorDaniel Stenberg <daniel@haxx.se>
Wed, 17 Feb 2016 14:01:38 +0000 (15:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Feb 2016 14:01:38 +0000 (15:01 +0100)
docs/examples/Makefile.am

index a7721cc00655d8504e9ee7ec2b7772dfb04cf86b..dec53f5283483fa4b2be49c8eea8b08dd6f9b701 100644 (file)
@@ -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