pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Removed leading tabs from <programlist...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad97f510d85b
branches:  trunk
changeset: 349529:ad97f510d85b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jul 09 16:19:15 2016 +0000

description:
Removed leading tabs from <programlisting>, to prevent empty lines from
appearing in the output.

diffstat:

 doc/guide/files/fixes.xml       |  42 ++++++++++++++++++++--------------------
 doc/guide/files/infr.design.xml |   6 ++--
 doc/guide/files/platforms.xml   |   6 ++--
 3 files changed, 27 insertions(+), 27 deletions(-)

diffs (183 lines):

diff -r bcedc321ab32 -r ad97f510d85b doc/guide/files/fixes.xml
--- a/doc/guide/files/fixes.xml Sat Jul 09 16:07:35 2016 +0000
+++ b/doc/guide/files/fixes.xml Sat Jul 09 16:19:15 2016 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.140 2016/07/09 16:07:35 rillig Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.141 2016/07/09 16:19:15 rillig Exp $ -->
 
 <chapter id="fixes"> <?dbhtml filename="fixes.html"?>
 <title>Making your package work</title>
@@ -325,9 +325,9 @@
        libraries to build and run, and if that package has a
        <filename>buildlink3.mk</filename> file available, use it:</para>
 
-       <programlisting>
+<programlisting>
 .include "../../graphics/jpeg/buildlink3.mk"
-       </programlisting>
+</programlisting>
       </listitem>
 
       <listitem>
@@ -335,9 +335,9 @@
        libraries only for building, and if that package has a
        <filename>buildlink3.mk</filename> file available, use it:</para>
 
-       <programlisting>
+<programlisting>
 .include "../../graphics/jpeg/buildlink3.mk"
-       </programlisting>
+</programlisting>
        <para>but set
        <varname>BUILDLINK_DEPMETHOD.<replaceable>jpeg</replaceable>?=build</varname>
        to make it a build dependency only. This case is rather
@@ -348,9 +348,9 @@
        <para>If your package needs binaries from another package to build,
        use the <varname>BUILD_DEPENDS</varname> definition:</para>
 
-       <programlisting>
+<programlisting>
 BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
-       </programlisting>
+</programlisting>
       </listitem>
 
       <listitem>
@@ -370,9 +370,9 @@
        be able to execute the latex binary from the teTeX package
        when it runs, and that is specified:</para>
 
-       <programlisting>
+<programlisting>
 DEPENDS+=        teTeX-[0-9]*:../../print/teTeX
-       </programlisting>
+</programlisting>
       </listitem>
       <listitem>
        <para>You can use wildcards in package dependencies. Note that
@@ -390,9 +390,9 @@
        will only build against a certain minimum version of a
        pre-requisite:</para>
 
-       <programlisting>
+<programlisting>
 DEPENDS+=       ImageMagick>=6.0:../../graphics/ImageMagick
-       </programlisting>
+</programlisting>
 
        <para>This means that the package will build using version 6.0
        of ImageMagick or newer. Such a dependency may be warranted
@@ -816,13 +816,13 @@
        <quote>ar</quote>, <quote>ranlib</quote>, and <quote>ld
        -Bshareable</quote> commands, and instead use:</para>
 
-       <programlisting>
+<programlisting>
 ${LIBTOOL} --mode=link \
     ${CC} -o ${.TARGET:.a=.la} \
         ${OBJS:.o=.lo} \
         -rpath ${PREFIX}/lib \
         -version-info major:minor
-       </programlisting>
+</programlisting>
 
        <para>Note that the library is changed to have a
        <filename>.la</filename> extension, and the objects are
@@ -838,7 +838,7 @@
 
        <para>From the libtool manual:</para>
 
-       <programlisting>
+<programlisting>
 So, libtool library versions are described by three integers:
 
 CURRENT
@@ -855,7 +855,7 @@
 
 If two libraries have identical CURRENT and AGE numbers, then the
 dynamic linker chooses the library with the greater REVISION number.
-       </programlisting>
+</programlisting>
 
        <para>The <quote>-release</quote> option will produce
        different results for a.out and ELF (excluding symlinks)
@@ -896,15 +896,15 @@
        expects you to change that argument to be the
        <filename>.la</filename> file. e.g.</para>
 
-       <programlisting>
+<programlisting>
 ${LIBTOOL} --mode=link ${CC} -o someprog -L../somelib -lsomelib
-       </programlisting>
+</programlisting>
 
        <para>should be changed to:</para>
 
-       <programlisting>
+<programlisting>
 ${LIBTOOL} --mode=link ${CC} -o <replaceable>someprog</replaceable> <replaceable>../somelib/somelib.la</replaceable>
-       </programlisting>
+</programlisting>
 
        <para>and it will do the right thing with the libraries.</para>
       </listitem>
@@ -915,9 +915,9 @@
        --mode=install</quote>, and change the library name to
        <filename>.la</filename>. e.g.</para>
 
-       <programlisting>
+<programlisting>
 ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${SOMELIB:.a=.la} ${PREFIX}/lib
-       </programlisting>
+</programlisting>
 
        <para>This will install the static <filename>.a</filename>,
        shared library, any needed symlinks, and run
diff -r bcedc321ab32 -r ad97f510d85b doc/guide/files/infr.design.xml
--- a/doc/guide/files/infr.design.xml   Sat Jul 09 16:07:35 2016 +0000
+++ b/doc/guide/files/infr.design.xml   Sat Jul 09 16:19:15 2016 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: infr.design.xml,v 1.9 2016/06/10 21:21:42 rillig Exp $ -->
+<!-- $NetBSD: infr.design.xml,v 1.10 2016/07/09 16:19:15 rillig Exp $ -->
 
 <chapter id="infr.design"> <?dbhtml filename="infr.design.html"?>
 <title>Design of the pkgsrc infrastructure</title>
@@ -111,7 +111,7 @@
        <varname>CONFIGURE_ARGS</varname>. To make the effect more
        clear, here is an example:</para>
 
-       <programlisting>
+<programlisting>
 CONFIGURE_ARGS=         # none
 CFLAGS=                 -O
 CONFIGURE_ARGS+=        CFLAGS=${CFLAGS:Q}
@@ -119,7 +119,7 @@
 CONFIGURE_ARGS:=        ${CONFIGURE_ARGS}
 
 CFLAGS+=                -Wall
-       </programlisting>
+</programlisting>
 
        <para>This code shows how the use of the <literal>:=</literal>
        operator can quickly lead to unexpected results. The first
diff -r bcedc321ab32 -r ad97f510d85b doc/guide/files/platforms.xml
--- a/doc/guide/files/platforms.xml     Sat Jul 09 16:07:35 2016 +0000
+++ b/doc/guide/files/platforms.xml     Sat Jul 09 16:19:15 2016 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: platforms.xml,v 1.97 2016/07/03 19:25:16 sevan Exp $ -->
+<!-- $NetBSD: platforms.xml,v 1.98 2016/07/09 16:19:15 rillig Exp $ -->
 
 <chapter id="platforms">
   <title>Using pkgsrc on systems other than &os;</title>
@@ -191,9 +191,9 @@
        don't have a termcap/terminfo entry for it, but the following .termcap
        entry provides adequate emulation in most cases:</para>
 
-       <programlisting>
+<programlisting>
 interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:
-       </programlisting>
+</programlisting>
 
       </sect3>
       <sect3 id="platform.interix-limits">



Home | Main Index | Thread Index | Old Index