Hi,
the automake info page has this to say about distcleancheck: > If you want `distcleancheck' to ignore built files that have not >been cleaned because they are also part of the distribution, add the >following definition instead: > > distcleancheck_listfiles = \ > find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';' This is not quite portable -- unless GNU find, which implies a path of "." if nothing else is specified, Solaris's explicitly requires a path to find. It should therefor read distcleancheck_listfiles = \ find . -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'