Discussion:
[SCM] GNU Autoconf source repository branch, master, updated. v2.69-77-g845e703
Paul Eggert
2013-03-08 17:23:10 UTC
Permalink
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=845e703afd505f1f5ca7649fc1730258573e0f3a

The branch, master has been updated
via 845e703afd505f1f5ca7649fc1730258573e0f3a (commit)
from 88b2010a97d7c6fce0f7fc62b72ace62b03c7561 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 845e703afd505f1f5ca7649fc1730258573e0f3a
Author: Paul Eggert <***@cs.ucla.edu>
Date: Fri Mar 8 09:22:48 2013 -0800

doc: explain why single-quoting is better

* doc/autoconf.texi (Build Directories): Explain single-quoting.
Reported by Markus Elfring in
<http://savannah.gnu.org/support/?108262>.

-----------------------------------------------------------------------

Summary of changes:
doc/autoconf.texi | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index bf4823d..c54c5b3 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -3148,7 +3148,10 @@ versions of @command{make} do not set @code{$<} in explicit rules; they
expand it to an empty value.

Instead, Make command lines should always refer to source
-files by prefixing them with @samp{$(srcdir)/}. For example:
+files by prefixing them with @samp{$(srcdir)/}. It's safer
+to quote the source directory name, in case it contains characters that
+are special to the shell. Because @samp{$(srcdir)} is expanded by Make,
+single-quoting works and is safer than double-quoting. For example:

@example
time.info: time.texinfo


hooks/post-receive
--
GNU Autoconf source repository
Loading...