[Top][All Lists]

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

automake manual: distclean

From: Jan Engelhardt
Subject: automake manual: distclean
Date: Wed, 26 Nov 2008 19:18:27 +0100 (CET)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)


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 {}' ';'

reply via email to

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