On Wed, Jan 18, 2012 at 8:49 PM, Miles Bader <mi...@gnu.org> wrote: > For cleaning non-automake-handled stuff, you can add a "clean-local:" > rule (and "maintainer-clean-local:" etc) that does cleaning however > you want. The automake-generated clean rule will depend on it, but > you control what it does. For packaging, you can use the "dist-hook:" > rule.
CLEANFILES = ... EXTRA_DIST = .... I even put wildcards in there: EXTRA_DIST = dirForUserContrib/*