Embedding <programlisting> inside <para> is no good
and results in poor vertical indenting.
This commit is contained in:
parent
1ec55c594b
commit
16f03c0d07
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21246
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue