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