diff options
| author | Paul Eggert | 2018-09-24 10:44:34 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-09-24 10:45:07 -0700 |
| commit | 36243179695a1711308e1d2f57c9ff847f3ef2d0 (patch) | |
| tree | a89e0bad3013bc6787bdc20ecbebe59838009d89 /lib/Makefile.in | |
| parent | 662bee7d70ccd3903e123b08c7ec9108a1a2ce0b (diff) | |
| download | emacs-36243179695a1711308e1d2f57c9ff847f3ef2d0.tar.gz emacs-36243179695a1711308e1d2f57c9ff847f3ef2d0.zip | |
Fix ‘make clean’ with a file named ‘-.o’
Problem reported by T.V Raman in:
https://lists.gnu.org/r/emacs-devel/2018-09/msg00866.html
* Makefile.in (clean, extraclean):
* doc/emacs/Makefile.in (mostlyclean):
* doc/lispintro/Makefile.in (mostlyclean):
* doc/lispref/Makefile.in (mostlyclean):
* doc/misc/Makefile.in (mostlyclean, clean):
* etc/refcards/Makefile (clean):
* lib-src/Makefile.in (mostlyclean, extraclean):
* lib/Makefile.in (clean):
* lwlib/Makefile.in (clean mostlyclean):
* oldXMenu/Makefile.in (clean mostlyclean):
* src/Makefile.in (mostlyclean, extraclean):
* test/Makefile.in (mostlyclean):
Say ‘rm ./*.o’ instead of ‘rm *.o’ to avoid undesirable failure
when a file name begins with ‘-’.
Diffstat (limited to 'lib/Makefile.in')
| -rw-r--r-- | lib/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index b26db27423d..7dba31be711 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in | |||
| @@ -118,7 +118,7 @@ TAGS: $(ETAGS) $(tagsfiles) | |||
| 118 | .PHONY: $(ETAGS) tags | 118 | .PHONY: $(ETAGS) tags |
| 119 | 119 | ||
| 120 | clean: | 120 | clean: |
| 121 | rm -f *.[ao] *-t \#* $(DEPDIR)/* | 121 | rm -f ./*.[ao] ./*-t \#* $(DEPDIR)/* |
| 122 | mostlyclean: clean | 122 | mostlyclean: clean |
| 123 | rm -f $(filter-out %-t,$(MOSTLYCLEANFILES)) | 123 | rm -f $(filter-out %-t,$(MOSTLYCLEANFILES)) |
| 124 | distclean bootstrap-clean: mostlyclean | 124 | distclean bootstrap-clean: mostlyclean |