diff options
author | rillig <rillig@pkgsrc.org> | 2005-05-14 03:30:56 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-05-14 03:30:56 +0000 |
commit | fcf10f8e3373563b02877323880025a7027360fa (patch) | |
tree | fcf553e4d774eb6d5f186d52aa015783d9ee6813 /doc | |
parent | 5527d165c437a0c2aa3b69cae110c701c865f31d (diff) | |
download | pkgsrc-fcf10f8e3373563b02877323880025a7027360fa.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')
-rw-r--r-- | doc/guide/files/makefile.xml | 7 |
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> |