Embedding <programlisting> inside <para> is no good

and results in poor vertical indenting.
This commit is contained in:
Yaroslav Tykhiy 2004-06-23 13:32:19 +00:00
parent 1ec55c594b
commit 16f03c0d07
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21246

View file

@ -4941,12 +4941,12 @@ ${PREFIX}/man/ja/man4/baz.4.gz</programlisting>
<filename>pkg-plist</filename>.</para>
<para>For instance, if you have a port that installs many files in a
version-specific subdirectory, you can put something like
version-specific subdirectory, you can put something like</para>
<programlisting>OCTAVE_VERSION= 2.0.13
<programlisting>OCTAVE_VERSION= 2.0.13
PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
in the <filename>Makefile</filename> and use
<para>in the <filename>Makefile</filename> and use
<literal>%%OCTAVE_VERSION%%</literal> wherever the version shows up
in <filename>pkg-plist</filename>. That way, when you upgrade the port,
you will not have to change dozens (or in some cases, hundreds) of