Remove ALWAYS_KEEP_DISTFILES, it is not used by anything.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-03-31 15:15:50 +00:00
parent f36a127fb4
commit d08a502f93
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50114

View file

@ -3145,39 +3145,6 @@ PATCHFILES= patch1:test</programlisting>
<filename>Makefile</filename>.</para>
</note>
</sect2>
<sect2 xml:id="makefile-always_keep_distfiles">
<title><varname>ALWAYS_KEEP_DISTFILES</varname></title>
<para>If the port uses binary distfiles and has a license that
requires that the source code is provided with packages
distributed in binary form, like <acronym>GPL</acronym>,
<varname>ALWAYS_KEEP_DISTFILES</varname> will instruct the
&os; build cluster to keep a copy of the files specified in
<varname>DISTFILES</varname>. Users of these ports will
generally not need these files, so it is a good idea to only
add the source distfiles to <varname>DISTFILES</varname> when
<varname>PACKAGE_BUILDING</varname> is defined.</para>
<example
xml:id="ports-master-sites-n-example-always-keep-distfiles">
<title>Use of
<varname>ALWAYS_KEEP_DISTFILES</varname></title>
<programlisting>.if defined(PACKAGE_BUILDING)
DISTFILES+= <replaceable>foo.tar.gz</replaceable>
ALWAYS_KEEP_DISTFILES= yes
.endif</programlisting>
</example>
<para>When adding extra files to <varname>DISTFILES</varname>,
make sure to also add them to <filename>distinfo</filename>.
Also, the additional files will normally be extracted into
<varname>WRKDIR</varname> as well, which for some ports may
lead to undesirable side effects and require special
handling.</para>
</sect2>
</sect1>
<sect1 xml:id="makefile-maintainer">