svn commit: r50114 - head/en_US.ISO8859-1/books/porters-handbook/makefiles

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: mat
Date: Fri Mar 31 15:15:50 2017
New Revision: 50114
URL: https://svnweb.freebsd.org/changeset/doc/50114

Log:
  Remove ALWAYS_KEEP_DISTFILES, it is not used by anything.
  
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Thu Mar 30 23:06:52 2017	(r50113)
+++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Fri Mar 31 15:15:50 2017	(r50114)
@@ -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">
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.