diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-19 10:02:27 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-20 08:20:27 +0100 |
commit | c543da9a5072801427a21b0d843d6a08bf48d119 (patch) | |
tree | 0ed0c69334e9aa5d271120b8ad0bd77af84db619 /src/mkhelp.pl | |
parent | aa5a28bd697d652f78ba471022092e148d0b6e4f (diff) | |
download | curl-c543da9a5072801427a21b0d843d6a08bf48d119.tar.gz |
curl: remove MANUAL from -M output
... and remove it from the dist tarball. It has served its time, it
barely gets updated anymore and "everything curl" is now convering all
this document once tried to include, and does it more and better.
In the compressed scenario, this removes ~15K data from the binary,
which is 25% of the -M output.
It remains in the git repo for now for as long as the web site builds a
page using that as source. It renders poorly on the site (especially for
mobile users) so its not even good there.
Closes #3587
Diffstat (limited to 'src/mkhelp.pl')
-rwxr-xr-x | src/mkhelp.pl | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 757f024ce..5e62b4ebb 100755 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2019, 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 @@ -33,14 +33,6 @@ if($ARGV[0] eq "-c") { shift @ARGV; } -my $README = $ARGV[0]; - -if($README eq "") { - print "usage: mkhelp.pl [-c] <README> < manpage\n"; - exit; -} - - push @out, " _ _ ____ _\n"; push @out, " Project ___| | | | _ \\| |\n"; push @out, " / __| | | | |_) | |\n"; @@ -89,19 +81,6 @@ while (<STDIN>) { } push @out, "\n"; # just an extra newline -open(READ, "<$README") || - die "couldn't read the README infile $README"; - -while(<READ>) { - my $line = $_; - - # remove trailing CR from line. msysgit checks out files as line+CRLF - $line =~ s/\r$//; - - push @out, $line; -} -close(READ); - print <<HEAD /* * NEVER EVER edit this manually, fix the mkhelp.pl script instead! |