${STRIP} is the flag to install(1), ${STRIP_CMD} _is_ the strip(1).
This commit is contained in:
parent
2c40dde57b
commit
9f59efa89d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15976
1 changed files with 2 additions and 2 deletions
|
|
@ -4594,12 +4594,12 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
|||
|
||||
<para>If you need to strip a file, but do not wish to use the
|
||||
<makevar>INSTALL_PROGRAM</makevar> macro,
|
||||
<makevar>${STRIP}</makevar> will strip your program. This is
|
||||
<makevar>${STRIP_CMD}</makevar> will strip your program. This is
|
||||
typically done within the <literal>post-install</literal>
|
||||
target. For example:</para>
|
||||
|
||||
<programlisting>post-install:
|
||||
${STRIP} ${PREFIX}/bin/xdl</programlisting>
|
||||
${STRIP_CMD} ${PREFIX}/bin/xdl</programlisting>
|
||||
|
||||
<para>Use the &man.file.1; command on the installed executable to
|
||||
check whether the binary is stripped or not. If it does not say
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue