More clarification in guidelines wrt rule 17
This commit is contained in:
1 parent
4a01bfc58a
commit
065bd090cd
2 files changed
+28
-2
No files matched your search
@@ -1371,7 +1371,15 @@ it will remove files that are not under <code>git(1)</code> control! Instead, se
|
||||
<code>clobber</code> rule in the example Makefile to see how to manage this.
|
||||
</p>
|
||||
<p class="leftbar">
|
||||
Do <strong>NOT</strong> rely on these tools for any other rule, either.
|
||||
In other words, for <code>make clobber</code>, do something like:
|
||||
</p>
|
||||
<pre><code> clobber:
|
||||
${RM} -f foo bar baz</code></pre>
|
||||
<p>and <strong>NOT</strong> something like this:</p>
|
||||
<pre><code> clobber:
|
||||
-git clean -f</code></pre>
|
||||
<p class="leftbar">
|
||||
And do <strong>NOT</strong> use <code>git</code> for any other tool either.
|
||||
</p>
|
||||
<p>Jump to: <a href="#">top</a></p>
|
||||
<div id="likes">
|
||||
|
||||
+19
-1
@@ -1200,9 +1200,27 @@ it will remove files that are not under `git(1)` control! Instead, see the
|
||||
</p>
|
||||
|
||||
<p class="leftbar">
|
||||
Do **NOT** rely on these tools for any other rule, either.
|
||||
In other words, for `make clobber`, do something like:
|
||||
</p>
|
||||
|
||||
|
||||
``` <!---makefile-->
|
||||
clobber:
|
||||
${RM} -f foo bar baz
|
||||
```
|
||||
|
||||
and **NOT** something like this:
|
||||
|
||||
``` <!---makefile-->
|
||||
clobber:
|
||||
-git clean -f
|
||||
```
|
||||
|
||||
<p class="leftbar">
|
||||
And do **NOT** use `git` for any other tool either.
|
||||
</p>
|
||||
|
||||
|
||||
Jump to: [top](#)
|
||||
|
||||
<div id="likes">
|
||||
|
||||
Reference in new issue
Block a user