Thayne Harbaugh <[EMAIL PROTECTED]> writes:
> Heres a patch for the contrib/lsh.spec.in file. This patch removes
> several things that make install now handles (such as installing
> man pages). This patch also simplifies, fixes a spelling error,
> and handles the lsh.info page.
One more thing I noticed:
> -strip $RPM_BUILD_ROOT%{prefix}/bin/lsh
> -strip $RPM_BUILD_ROOT%{prefix}/bin/lsh_keygen
> -strip $RPM_BUILD_ROOT%{prefix}/bin/lsh_writekey
> -# strip $RPM_BUILD_ROOT%{prefix}/lib/*
> +# ugly, but it's also ugly to list all files in bin
> +# make install should strip - not here
> +strip $RPM_BUILD_ROOT%{prefix}/bin/* || true
> strip $RPM_BUILD_ROOT%{prefix}/sbin/*
I don't think make install should strip by default (personally, I
don't think binaries and libraries should ever be stripped, unless one
is really short on disk space). However, there is an alternative
target
make install-strip
that is supposed to do what you want. It's an automake feature, I
haven't realy tried it myself.
/Niels