summaryrefslogtreecommitdiff
path: root/doc/emacs/Makefile.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-04-16 18:35:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-04-16 18:35:20 -0700
commiteb36672f2bc4cb3eeed3bd802c340ccb8416ad26 (patch)
tree1cc231c6787df91adb3c1cb5566390598af83463 /doc/emacs/Makefile.in
parent290d7ac277986bd118e594a8100b3f40e4492cb1 (diff)
downloademacs-eb36672f2bc4cb3eeed3bd802c340ccb8416ad26.tar.gz
Be consistent about reporting infoclean failures.
* doc/emacs/Makefile.in (infoclean): * doc/lispintro/Makefile.in (infoclean): * doc/lispref/Makefile.in (infoclean): * doc/misc/Makefile.in (infoclean): Do not fail merely because the info directory does not exist, but do fail if it exists and can't be cleaned.
Diffstat (limited to 'doc/emacs/Makefile.in')
-rw-r--r--doc/emacs/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in
index 4a59ebed521..9006ba1fbed 100644
--- a/doc/emacs/Makefile.in
+++ b/doc/emacs/Makefile.in
@@ -199,7 +199,10 @@ distclean: clean
## In the standalone tarfile, the clean rule runs this.
infoclean:
- -cd $(buildinfodir) && rm -f emacs$(INFO_EXT) emacs$(INFO_EXT)-[1-9] emacs$(INFO_EXT)-[1-9][0-9]
+ rm -f \
+ $(buildinfodir)/emacs$(INFO_EXT) \
+ $(buildinfodir)/emacs$(INFO_EXT)-[1-9] \
+ $(buildinfodir)/emacs$(INFO_EXT)-[1-9][0-9]
maintainer-clean: distclean infoclean