[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distcleancheck_listfiles example
From: |
Alexandre Duret-Lutz |
Subject: |
Re: distcleancheck_listfiles example |
Date: |
Thu, 31 Oct 2002 15:46:33 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Karl" == Karl Berry <address@hidden> writes:
Karl> In the automake 1.7.1 (and earlier) manual, there's the
Karl> following example:
Karl> distcleancheck_listfiles = \
Karl> find -type f -exec sh -c 'test -f $(scrdir)/{} || echo {}'
Karl> This does not actually work because the argument to -exec
Karl> is terminated with a ; ... as in:
Karl> find -type f -exec "sh -c 'test -f $(srcdir)/{} || echo {}'" ';'
Thanks! I'm checking this on HEAD and branch-1-7.
2002-10-31 Alexandre Duret-Lutz <address@hidden>
* automake.texi (Dist): Fix the distcleancheck_listfiles example.
Reported by Karl Berry.
Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.306
diff -u -r1.306 automake.texi
--- automake.texi 10 Oct 2002 17:37:37 -0000 1.306
+++ automake.texi 31 Oct 2002 14:43:05 -0000
@@ -4230,7 +4230,7 @@
@example
distcleancheck_listfiles = \
- find -type f -exec sh -c 'test -f $(scrdir)/@address@hidden || echo
@address@hidden'
+ find -type f -exec sh -c 'test -f $(srcdir)/@address@hidden || echo
@address@hidden' ';'
@end example
The above definition is not the default because it's usually an error if
--
Alexandre Duret-Lutz