lib/src: fix the checksrc invoke
... now works correctly when invoke from the root makefile
This commit is contained in:
parent
1571da69b5
commit
a8b51a179a
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2015, 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
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -146,7 +146,7 @@ libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS)
|
|||||||
libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS)
|
libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS)
|
||||||
|
|
||||||
checksrc:
|
checksrc:
|
||||||
@@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/lib $(CSOURCES) $(HHEADERS)
|
@PERL@ $(top_srcdir)/lib/checksrc.pl -W$(top_srcdir)/lib/curl_config.h $(top_srcdir)/lib/*.[ch]
|
||||||
|
|
||||||
if CURLDEBUG
|
if CURLDEBUG
|
||||||
# for debug builds, we scan the sources on all regular make invokes
|
# for debug builds, we scan the sources on all regular make invokes
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2015, 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
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -130,7 +130,7 @@ endif
|
|||||||
# ignore tool_hugehelp.c since it is generated source code and it plays
|
# ignore tool_hugehelp.c since it is generated source code and it plays
|
||||||
# by slightly different rules!
|
# by slightly different rules!
|
||||||
checksrc:
|
checksrc:
|
||||||
@@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/src -Wtool_hugehelp.c $(CURL_CFILES) $(CURL_HFILES)
|
@@PERL@ $(top_srcdir)/lib/checksrc.pl -W$(top_srcdir)/src/tool_hugehelp.c $(top_srcdir)/src/*.[ch]
|
||||||
|
|
||||||
if CURLDEBUG
|
if CURLDEBUG
|
||||||
# for debug builds, we scan the sources on all regular make invokes
|
# for debug builds, we scan the sources on all regular make invokes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user