aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2018-09-24 10:44:34 -0700
committerPaul Eggert2018-09-24 10:45:07 -0700
commit36243179695a1711308e1d2f57c9ff847f3ef2d0 (patch)
treea89e0bad3013bc6787bdc20ecbebe59838009d89 /lib-src
parent662bee7d70ccd3903e123b08c7ec9108a1a2ce0b (diff)
downloademacs-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-src')
-rw-r--r--lib-src/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index b2b901788a5..ecb9208a1cd 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -334,7 +334,7 @@ uninstall:
334 fi 334 fi
335 335
336mostlyclean: 336mostlyclean:
337 rm -f core *.o *.res 337 rm -f core ./*.o ./*.res
338 338
339clean: mostlyclean 339clean: mostlyclean
340 rm -f ${EXE_FILES} 340 rm -f ${EXE_FILES}
@@ -345,7 +345,7 @@ distclean: clean
345bootstrap-clean maintainer-clean: distclean 345bootstrap-clean maintainer-clean: distclean
346 346
347extraclean: maintainer-clean 347extraclean: maintainer-clean
348 rm -f *~ \#* 348 rm -f ./*~ \#*
349 349
350## Test the contents of the directory. 350## Test the contents of the directory.
351check: 351check: