Change the "make clean" rule to remove all the .tmp_* files. .tmp_objdiff is the only exception, which should be removed by "make mrproper". Rename the record directory of objdiff, .tmp_objdiff to .objdiff to avoid the removal by "make clean".
Showing the changes to scripts/objdiff (1 of 3 files). Show all
Unified · Split
| @@ -20,10 +20,10 @@ · 19 unmodified lines | ||
| 20 | 20 | # $ ./scripts/objdiff diff COMMIT_A COMMIT_B |
| 21 | 21 | # $ |
| 22 | 22 | |
| 23 | −# And to clean up (everything is in .tmp_objdiff/*) | |
| 23 | +# And to clean up (everything is in .objdiff/*) | |
| 24 | 24 | # $ ./scripts/objdiff clean all |
| 25 | 25 | # |
| 26 | −# Note: 'make mrproper' will also remove .tmp_objdiff | |
| 26 | +# Note: 'make mrproper' will also remove .objdiff | |
| 27 | 27 | |
| 28 | 28 | SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd) |
| 29 | 29 | |
| @@ -32,7 +32,7 @@ if [ -z "$SRCTREE" ]; then · 2 unmodified lines | ||
| 32 | 32 | exit 1 |
| 33 | 33 | fi |
| 34 | 34 | |
| 35 | −TMPD=$SRCTREE/.tmp_objdiff | |
| 35 | +TMPD=$SRCTREE/.objdiff | |
| 36 | 36 | |
| 37 | 37 | usage() { |
| 38 | 38 | echo >&2 "Usage: $0 <command> <args>" |