mirror of
https://github.com/curl/curl.git
synced 2026-07-24 05:37:15 +03:00
tool: fix the listhelp generation command
The previous command line to generate the tool_listhelp.c source file
broke with 2494b8dd51.
Make 'make listhelp' invoked in src/ generate it. Also update the
comment in the file to mention the right procedure.
Closes #12786
This commit is contained in:
parent
879a44084f
commit
52c4d8d3f4
4 changed files with 12 additions and 9 deletions
|
|
@ -157,7 +157,7 @@ tidy:
|
|||
$(TIDY) $(CURL_CFILES) $(TIDYFLAGS) -- $(curl_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H
|
||||
|
||||
listhelp:
|
||||
(cd $(top_srcdir)/docs/cmdline-opts && ./gen.pl listhelp *.d) > tool_listhelp.c
|
||||
(cd $(top_srcdir)/docs/cmdline-opts && make listhelp)
|
||||
|
||||
if HAVE_WINDRES
|
||||
.rc.o:
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@
|
|||
|
||||
/*
|
||||
* DO NOT edit tool_listhelp.c manually.
|
||||
* This source file is generated with the following command:
|
||||
|
||||
cd $srcroot/docs/cmdline-opts
|
||||
./gen.pl listhelp *.d > $srcroot/src/tool_listhelp.c
|
||||
* This source file is generated with the following command in an autotools
|
||||
* build:
|
||||
*
|
||||
* "make listhelp"
|
||||
*/
|
||||
|
||||
const struct helptxt helptext[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue