automake
[Top][All Lists]
Advanced

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

Re: automake manual: distclean


From: Andreas Schwab
Subject: Re: automake manual: distclean
Date: Wed, 26 Nov 2008 19:48:32 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)

Jan Engelhardt <address@hidden> writes:

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

This isn't quite portable either.  POSIX only requires that find -exec
substitutes in arguments consisting of exactly {}.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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