summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-14 03:30:56 +0000
committerrillig <rillig@pkgsrc.org>2005-05-14 03:30:56 +0000
commit3ce24f9a876813a1ac102c1dbb0d04c092d6c465 (patch)
treefcf553e4d774eb6d5f186d52aa015783d9ee6813 /doc/guide
parenta84e59e2b115a6f6991e2b4b1220a2a6836b19c7 (diff)
downloadpkgsrc-3ce24f9a876813a1ac102c1dbb0d04c092d6c465.tar.gz
Applied the quoting rules to my own examples. "Converting an internal
list to an external list" had been wrong.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/makefile.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/guide/files/makefile.xml b/doc/guide/files/makefile.xml
index af4a43a0491..62142e00c04 100644
--- a/doc/guide/files/makefile.xml
+++ b/doc/guide/files/makefile.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: makefile.xml,v 1.10 2005/05/14 03:26:09 rillig Exp $ -->
+<!-- $NetBSD: makefile.xml,v 1.11 2005/05/14 03:30:56 rillig Exp $ -->
<!-- based on:
pkgsrc/bootstrap/bmake/for.c 1.1.1.1
@@ -155,14 +155,15 @@ EXT_LIST+= ${ANOTHER_EXT_LIST} # 4
<programlisting>
EXT_LIST= # empty
.for i in ${INT_LIST}
-EXT_LIST+= ${i:Q}
+EXT_LIST+= ${i:Q}""
.endfor
</programlisting>
<para>This code converts the internal list
<varname>INT_LIST</varname> into the external list
<varname>EXT_LIST</varname>. As the elements of an internal list
- are unquoted they must be quoted here.</para>
+ are unquoted they must be quoted here. The reason for appending
+ <varname>""</varname> is explained below.</para>
</sect2>