Porter's Handbook 5.15.2. Stripping Binaries and Shared Libraries Add example for lighter stripping Fix: Please commit enclosed porters-handbook_makefiles_chapter.xml.diff Patch attached with submission follows:
The patch is confusing to me: > --- en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml (revision 43995) > +++ en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml (working copy) > @@ -4138,6 +4138,14 @@ > <buildtarget>post-install</buildtarget> target. For > example:</para> > > + <para>First try to use <varname>USES</varname> macros</para> > + > + <programlisting> > + MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}</programlisting> * How is this related to the USES macro? * This is still in the example after "This is typically done within the post-install target," yet this is instead of the post-install target. > + > + <para>When this doesn't work, use in > + <buildtarget>post-install</buildtarget> target.</para> * In what way would the above not work? > + > <programlisting>post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl</programlisting>