diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-20 11:18:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-20 11:19:09 -0700 |
commit | 8bccbb9889abfb5d9ca2127df6c788d9b992af37 (patch) | |
tree | 6c14a7bcb9a991546a9b74dccef5072b47ddeeaa /Makefile.in | |
parent | e4e171bcac366f4d8538082230c804ae12cb2059 (diff) | |
download | emacs-8bccbb9889abfb5d9ca2127df6c788d9b992af37.tar.gz |
Fix extraclean in a different way for info+lib/sys
* Makefile.in (extraclean):
* lib/Makefile.in (extraclean): Use rmdir but suppress any
error indication. That way, ‘make extraclean’ will remove the
directory if it’s empty, and successfully do nothing otherwise.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index c829ca29bd5..aa11e6b0b74 100644 --- a/Makefile.in +++ b/Makefile.in @@ -942,6 +942,7 @@ extraclean: $(extraclean_dirs:=_extraclean) -rm -f config-tmp-* aclocal.m4 configure -rm -f ./*~ \#* etc/refcards/emacsver.tex doc/emacs/emacsver.texi -rm -f info/*.info info/dir + -rmdir info 2>/dev/null # The src subdir knows how to do the right thing # even when the build directory and source dir are different. |