${STRIP} is the flag to install(1), ${STRIP_CMD} _is_ the strip(1).

This commit is contained in:
Ruslan Ermilov 2003-02-10 13:28:04 +00:00
parent 2c40dde57b
commit 9f59efa89d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15976

View file

@ -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