bug-automake
[Top][All Lists]
Advanced

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

MAINTAINERCLEANFILES in srcdir


From: Stepan Kasal
Subject: MAINTAINERCLEANFILES in srcdir
Date: Wed, 14 Mar 2007 13:34:06 +0100
User-agent: Mutt/1.4.2.1i

Hello,
  the target maintainer-clean contains
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)

which means that the files are cleaned only in the build tree.

But the files which are cleaned by maintainer-clean, but not
distclean, are usually distributed, because it is supposed that the
``special tools'' needed to created them are not available on the
user's machine.

Could we perhaps change the above command to:

        -test -n "$(MAINTAINERCLEANFILES)" && \
                rm -f $(MAINTAINERCLEANFILES) && \
                cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES)

(I'm willing to implemement this eventually.)

Stepan




reply via email to

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