Commit 7698815
committed
Move the pattern_clean rule out of the PAT=true block.
Make sure the `pattern_clean` rule is always defined, even when PAT is
set to false. This is because that rule is explicitly called by the
general `clean` rule.
Of note, under PAT=false, `pattern_clean` can be called but it will not
clean _all_ the pattern-derived files, because the variables defining
the list of files to clean are themselves defined within the PAT block,
and moving them out of the block would be too much of a hassle for little
benefits.
While we are at it, this commit also removes an obsolete comment about
the prepending of `./` to prevent deleting files outside of the
repository, and clears some superfluous whitespaces.
closes #11761 parent 83263bf commit 7698815
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | | - | |
809 | 807 | | |
810 | 808 | | |
811 | 809 | | |
812 | 810 | | |
813 | | - | |
814 | | - | |
815 | | - | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
816 | 814 | | |
817 | | - | |
818 | | - | |
819 | 815 | | |
820 | 816 | | |
821 | 817 | | |
822 | 818 | | |
| 819 | + | |
| 820 | + | |
823 | 821 | | |
824 | 822 | | |
825 | 823 | | |
| |||
0 commit comments