Whitespace-only changes, wrap long lines and fix indents. Translators,
please ignore.
This commit is contained in:
parent
b310d64e46
commit
42b42c83ef
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38845
1 changed files with 10 additions and 6 deletions
|
|
@ -105,7 +105,9 @@
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="doc-build-makefiles">
|
<sect1 id="doc-build-makefiles">
|
||||||
<title>Understanding <filename>Makefile</filename>s in the Documentation Tree</title>
|
|
||||||
|
<title>Understanding <filename>Makefile</filename>s in the
|
||||||
|
Documentation Tree</title>
|
||||||
|
|
||||||
<para>There are three main types of <filename>Makefile</filename>s
|
<para>There are three main types of <filename>Makefile</filename>s
|
||||||
in the FreeBSD Documentation Project tree.</para>
|
in the FreeBSD Documentation Project tree.</para>
|
||||||
|
|
@ -248,7 +250,8 @@ DOC_PREFIX?= ${.CURDIR}/../../..
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="make-includes">
|
<sect1 id="make-includes">
|
||||||
<title>FreeBSD Documentation Project <application>Make</application> Includes</title>
|
<title>FreeBSD Documentation Project
|
||||||
|
<application>Make</application> Includes</title>
|
||||||
|
|
||||||
<para>This is best explained by inspection of the code. Here are
|
<para>This is best explained by inspection of the code. Here are
|
||||||
the system include files:</para>
|
the system include files:</para>
|
||||||
|
|
@ -397,7 +400,7 @@ PRI_LANG?= en_US.ISO8859-1
|
||||||
<para>A special dependency <literal>.USE</literal> defines
|
<para>A special dependency <literal>.USE</literal> defines
|
||||||
the equivalent of a macro.</para>
|
the equivalent of a macro.</para>
|
||||||
|
|
||||||
<programlisting>_SUBDIRUSE: .USE
|
<programlisting>_SUBDIRUSE: .USE
|
||||||
.for entry in ${SUBDIR}
|
.for entry in ${SUBDIR}
|
||||||
@${ECHO} "===> ${DIRPRFX}${entry}"
|
@${ECHO} "===> ${DIRPRFX}${entry}"
|
||||||
@(cd ${.CURDIR}/${entry} && \
|
@(cd ${.CURDIR}/${entry} && \
|
||||||
|
|
@ -416,7 +419,7 @@ PRI_LANG?= en_US.ISO8859-1
|
||||||
contains the name of the target currently being
|
contains the name of the target currently being
|
||||||
built.</para>
|
built.</para>
|
||||||
|
|
||||||
<programlisting>clean: _SUBDIRUSE
|
<programlisting>clean: _SUBDIRUSE
|
||||||
rm -f ${CLEANFILES}</programlisting>
|
rm -f ${CLEANFILES}</programlisting>
|
||||||
|
|
||||||
<para>In the above, <maketarget>clean</maketarget> will use
|
<para>In the above, <maketarget>clean</maketarget> will use
|
||||||
|
|
@ -476,14 +479,15 @@ PRI_LANG?= en_US.ISO8859-1
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3>
|
<sect3>
|
||||||
<title>Looping Constructs in <command>make (.for)</command></title>
|
<title>Looping Constructs in <command>make
|
||||||
|
(.for)</command></title>
|
||||||
|
|
||||||
<para><literal>.for</literal> provides a way to repeat a set
|
<para><literal>.for</literal> provides a way to repeat a set
|
||||||
of instructions for each space-separated element in a
|
of instructions for each space-separated element in a
|
||||||
variable. It does this by assigning a variable to contain
|
variable. It does this by assigning a variable to contain
|
||||||
the current element in the list being examined.</para>
|
the current element in the list being examined.</para>
|
||||||
|
|
||||||
<programlisting>_SUBDIRUSE: .USE
|
<programlisting>_SUBDIRUSE: .USE
|
||||||
.for entry in ${SUBDIR}
|
.for entry in ${SUBDIR}
|
||||||
@${ECHO} "===> ${DIRPRFX}${entry}"
|
@${ECHO} "===> ${DIRPRFX}${entry}"
|
||||||
@(cd ${.CURDIR}/${entry} && \
|
@(cd ${.CURDIR}/${entry} && \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue