install: ignore -s

The -s flag previously called strip(1) on the installed file.
This patch changes install(1)'s behaviour to ignore -s.

Many makefiles use the -s flag, so it has to be recognised for
compatibility, however it does not have to do anything because
symbols do not negatively affect the functionallity of binaries.

Ignoring -s have the added benefit that the user do not need
to edit makefiles if they want the symbols that are useful for
debugging. If the user wants to strip away symbols, it can be
done manually or automatically by the package manager.

Laslo: Update the man-date and remove -s from usage()

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée
2016-12-03 12:51:14 +01:00
committed by Laslo Hunhold
parent b7fb3a58e7
commit 609169d600
2 changed files with 6 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
.Dd 2016-02-12
.Dd 2016-24-27
.Dt INSTALL 1
.Os sbase
.Sh NAME
@@ -12,7 +12,7 @@
.Po
.Fl d Ar dir ...
|
.Op Fl sD
.Op Fl D
.Po
.Fl t Ar dest
.Ar source ...
@@ -62,10 +62,6 @@ is copied with
Change the installed files' owner to
.Ar owner .
This may be a user name or a user identifier.
.It Fl s
Remove unnecessary symbols using
.Xr strip 1 .
Failure to strip a file does not imply failure to install the file.
.It Fl t Ar dest
Copy files into the directory
.Ar dest .
@@ -79,8 +75,7 @@ notation is used, the base mode is 0000.
.Xr chmod 1 ,
.Xr chown 1 ,
.Xr cp 1 ,
.Xr mkdir 1 ,
.Xr strip 1
.Xr mkdir 1
.Sh STANDARDS
The
.Nm