View | Details | Raw Unified | Return to bug 44396
Collapse All | Expand All

(-)book.sgml Tue Oct 22 15:32:47 2002 (-16 lines)
Lines 3938-3959 Link Here
3938
        doing.</para>
3938
        doing.</para>
3939
3939
3940
      <sect1>
3940
      <sect1>
3941
        <title>Strip Binaries</title>
3942
3943
        <para>Do strip binaries.  If the original source already strips the
3944
          binaries, fine; otherwise you should add a
3945
          <literal>post-install</literal> rule to it yourself.  Here is an
3946
          example:</para>
3947
3948
        <programlisting>post-install:
3949
        strip ${PREFIX}/bin/xdl</programlisting>
3950
3951
        <para>Use the &man.file.1; command on the installed executable to
3952
          check whether the binary is stripped or not.  If it does not say
3953
          <literal>not stripped</literal>, it is stripped.</para>
3954
      </sect1>
3955
3956
      <sect1>
3957
        <title>INSTALL_* macros</title>
3941
        <title>INSTALL_* macros</title>
3958
3942
3959
        <para>Do use the macros provided in <filename>bsd.port.mk</filename>
3943
        <para>Do use the macros provided in <filename>bsd.port.mk</filename>

Return to bug 44396