diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-04-25 15:48:33 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-07-13 12:01:37 +0200 |
commit | 8cef6e50d7e4e0d0b1a8ff82c512b15ee1dfeaff (patch) | |
tree | 45b4698917fd88f8b9ce627b10990205d8bec7fd /installman | |
parent | bbb454562ee7ec7c6a191910bfa339cb2168a7a2 (diff) | |
download | perl-8cef6e50d7e4e0d0b1a8ff82c512b15ee1dfeaff.tar.gz |
Add a no-op option --strip to installman.
This intentionally does nothing.
--strip for installperl instructs it to strip the installed binaries. Hence
by permitting installman to accept --strip without error Makefile.SH can be
simplified, as it's possible to pass identical flags to both install scripts.
Diffstat (limited to 'installman')
-rwxr-xr-x | installman | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installman b/installman index 16278aac41..4f9d469f6b 100755 --- a/installman +++ b/installman @@ -36,9 +36,12 @@ my $usage = --verbose (or -V) report all progress. --silent (or -S) be silent. Only report errors.\n"; +# --strip intentionally does nothing. By permitting installman to accept it +# without error, the Makefile can pass the same options to installperl and +# installman, which permits more simplification there than this comment costs. GetOptions( \%opts, qw( man1dir=s man1ext=s man3dir=s man3ext=s - destdir:s notify|n help|h|? silent|S verbose|V)) + destdir:s notify|n help|h|? silent|S verbose|V strip)) || die $usage; die $usage if $opts{help}; $opts{destdir} //= ''; |