summaryrefslogtreecommitdiff
path: root/oldXMenu
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-09-24 10:44:34 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-09-24 10:45:07 -0700
commit36243179695a1711308e1d2f57c9ff847f3ef2d0 (patch)
treea89e0bad3013bc6787bdc20ecbebe59838009d89 /oldXMenu
parent662bee7d70ccd3903e123b08c7ec9108a1a2ce0b (diff)
downloademacs-36243179695a1711308e1d2f57c9ff847f3ef2d0.tar.gz
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 'oldXMenu')
-rw-r--r--oldXMenu/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in
index d795038797a..211bac97ee4 100644
--- a/oldXMenu/Makefile.in
+++ b/oldXMenu/Makefile.in
@@ -138,7 +138,7 @@ libXMenu11.a: $(OBJS) $(EXTRA)
.PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
clean mostlyclean:
- rm -f libXMenu11.a *.o $(DEPDIR)/*
+ rm -f libXMenu11.a ./*.o $(DEPDIR)/*
bootstrap-clean maintainer-clean distclean: clean
rm -f Makefile