Change <action> to <maketarget>.
PR: 34922 Submitted by: Ceri <setantae@submonkey.net>
This commit is contained in:
parent
fc7548d951
commit
45f7d6cff8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12237
1 changed files with 4 additions and 4 deletions
|
@ -1133,17 +1133,17 @@ install:
|
||||||
<para><command>make</command> will then only look at that target
|
<para><command>make</command> will then only look at that target
|
||||||
and ignore any others. For example, if we type
|
and ignore any others. For example, if we type
|
||||||
<userinput>make foo</userinput> with the makefile above, make
|
<userinput>make foo</userinput> with the makefile above, make
|
||||||
will ignore the <action>install</action> target.</para>
|
will ignore the <maketarget>install</maketarget> target.</para>
|
||||||
|
|
||||||
<para>If we just type <userinput>make</userinput> on its own,
|
<para>If we just type <userinput>make</userinput> on its own,
|
||||||
make will always look at the first target and then stop
|
make will always look at the first target and then stop
|
||||||
without looking at any others. So if we typed
|
without looking at any others. So if we typed
|
||||||
<userinput>make</userinput> here, it will just go to the
|
<userinput>make</userinput> here, it will just go to the
|
||||||
<action>foo</action> target, re-compile
|
<maketarget>foo</maketarget> target, re-compile
|
||||||
<filename>foo</filename> if necessary, and then stop without
|
<filename>foo</filename> if necessary, and then stop without
|
||||||
going on to the <action>install</action> target.</para>
|
going on to the <maketarget>install</maketarget> target.</para>
|
||||||
|
|
||||||
<para>Notice that the <action>install</action> target does not
|
<para>Notice that the <maketarget>install</maketarget> target does not
|
||||||
actually depend on anything! This means that the command on
|
actually depend on anything! This means that the command on
|
||||||
the following line is always executed when we try to make that
|
the following line is always executed when we try to make that
|
||||||
target by typing <userinput>make install</userinput>. In this
|
target by typing <userinput>make install</userinput>. In this
|
||||||
|
|
Loading…
Reference in a new issue