emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does 'make clean' not clean the etc/ directory?


From: Glenn Morris
Subject: Re: Why does 'make clean' not clean the etc/ directory?
Date: Wed, 01 Aug 2007 01:39:42 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Sven Joachim wrote:

> The toplevel Makefile does not clean up the etc/ directory in the
> targets {mostly,,dist,maintainer-}clean, unlike the other directories.

It does. The top-level Makefile calls src/Makefile for the various
clean options, and these do delete the etc/DOC* files. I guess it's
because etc/DOC* is generated from src/, not from etc/.

> The result is that useless stale DOC-* files are left there, is this
> an oversight?  I had expected them to disappear upon 'make clean' in
> the toplevel directory.

make clean only deletes DOC; you have to use distclean to get rid of
DOC-*. Admittedly, this does mean that src/Makefile is inconsistent
with etc/Makefile (which deletes DOC* for clean).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]