Date: Wed, 9 Sep 2015 13:02:18 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47396 - head/en_US.ISO8859-1/books/porters-handbook/makefiles Message-ID: <201509091302.t89D2Im3092676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Wed Sep 9 13:02:17 2015 New Revision: 47396 URL: https://svnweb.freebsd.org/changeset/doc/47396 Log: Correct indentation, translators can ignore. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Sep 9 13:02:06 2015 (r47395) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Sep 9 13:02:17 2015 (r47396) @@ -2747,8 +2747,8 @@ MASTER_SITE_SUBDIR= directory-trial:1 di SourceForge (<literal>SF</literal>)?</para> <para>This has been simplified as much as possible. See - <xref - linkend="ports-master-sites-n-example-detailed-use-master-site-sourceforge"/>.</para> + <xref + linkend="ports-master-sites-n-example-detailed-use-master-site-sourceforge"/>.</para> <example xml:id="ports-master-sites-n-example-detailed-use-master-site-sourceforge"> @@ -2759,8 +2759,8 @@ MASTER_SITE_SUBDIR= directory-trial:1 di <programlisting>MASTER_SITES= http://site1/ SF/something/1.0:sourceforge,TEST DISTFILES= something.tar.gz:sourceforge</programlisting> - <para><filename>something.tar.gz</filename> will be - fetched from all sites within SourceForge.</para> + <para><filename>something.tar.gz</filename> will be + fetched from all sites within SourceForge.</para> </example> </listitem> @@ -3291,13 +3291,13 @@ ALWAYS_KEEP_DISTFILES= yes BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS}</programlisting> - <important> - <para><emphasis>Do not</emphasis> use <literal>:=</literal> - to assign <varname>BUILD_DEPENDS</varname> to - <varname>RUN_DEPENDS</varname> or vice-versa. All - variables are expanded immediately, which is exactly the - wrong thing to do and almost always a failure.</para> - </important> + <important> + <para><emphasis>Do not</emphasis> use <literal>:=</literal> + to assign <varname>BUILD_DEPENDS</varname> to + <varname>RUN_DEPENDS</varname> or vice-versa. All + variables are expanded immediately, which is exactly the + wrong thing to do and almost always a failure.</para> + </important> </sect2> <sect2 xml:id="makefile-build_depends"> @@ -4527,23 +4527,23 @@ BIN3_BUILD= no </listitem> </itemizedlist> - <para>When option <replaceable>OPT</replaceable> is - selected, the value of - <varname><replaceable>OPT</replaceable>_<replaceable>DEPTYPE</replaceable></varname>, - if defined, is appended to - <literal><replaceable>DEPTYPE</replaceable></literal>. - <varname><replaceable>OPT</replaceable>_<replaceable>DEPTYPE</replaceable>_OFF</varname> - works the same, but when <literal>OPT</literal> is - <emphasis>not</emphasis> - selected. For example:</para> + <para>When option <replaceable>OPT</replaceable> is + selected, the value of + <varname><replaceable>OPT</replaceable>_<replaceable>DEPTYPE</replaceable></varname>, + if defined, is appended to + <literal><replaceable>DEPTYPE</replaceable></literal>. + <varname><replaceable>OPT</replaceable>_<replaceable>DEPTYPE</replaceable>_OFF</varname> + works the same, but when <literal>OPT</literal> is + <emphasis>not</emphasis> + selected. For example:</para> - <programlisting>OPTIONS_DEFINE= OPT1 + <programlisting>OPTIONS_DEFINE= OPT1 OPT1_LIB_DEPENDS= liba.so:${PORTSDIR}/devel/a OPT1_LIB_DEPENDS_OFF= libb.so:${PORTSDIR}/devel/b</programlisting> - <para>is equivalent to:</para> + <para>is equivalent to:</para> - <programlisting>OPTIONS_DEFINE= OPT1 + <programlisting>OPTIONS_DEFINE= OPT1 .include <bsd.port.options.mk> @@ -4704,17 +4704,17 @@ LIB_DEPENDS+= libb.so:${PORTSDIR}/devel/ </listitem> </itemizedlist> - <para>When option <replaceable>OPT</replaceable> is - selected, the value of - <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>, - if defined, is appended to - <literal><replaceable>ABOVEVARIABLE</replaceable></literal>. - <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname> - works the same way, but when <literal>OPT</literal> is - <emphasis>not</emphasis> - selected. For example:</para> + <para>When option <replaceable>OPT</replaceable> is + selected, the value of + <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>, + if defined, is appended to + <literal><replaceable>ABOVEVARIABLE</replaceable></literal>. + <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname> + works the same way, but when <literal>OPT</literal> is + <emphasis>not</emphasis> + selected. For example:</para> - <programlisting>OPTIONS_DEFINE= OPT1 + <programlisting>OPTIONS_DEFINE= OPT1 OPT1_USES= gmake OPT1_CFLAGS_OFF= -DTEST</programlisting> @@ -4869,16 +4869,16 @@ DOCS_ALL_TARGET= doc</programlisting> </listitem> </itemizedlist> - <para>When option <replaceable>OPT</replaceable> is - selected, the target - <buildtarget><replaceable>TARGET</replaceable>-<replaceable>OPT</replaceable>-on</buildtarget>, - if defined, is executed after - <buildtarget><replaceable>TARGET</replaceable></buildtarget>. - <buildtarget><replaceable>TARGET</replaceable>-<replaceable>OPT</replaceable>-off</buildtarget> - works the same way, but when <literal>OPT</literal> is - <emphasis>not</emphasis> selected. For example:</para> + <para>When option <replaceable>OPT</replaceable> is + selected, the target + <buildtarget><replaceable>TARGET</replaceable>-<replaceable>OPT</replaceable>-on</buildtarget>, + if defined, is executed after + <buildtarget><replaceable>TARGET</replaceable></buildtarget>. + <buildtarget><replaceable>TARGET</replaceable>-<replaceable>OPT</replaceable>-off</buildtarget> + works the same way, but when <literal>OPT</literal> is + <emphasis>not</emphasis> selected. For example:</para> - <programlisting>OPTIONS_DEFINE= OPT1 + <programlisting>OPTIONS_DEFINE= OPT1 post-patch-OPT1-on: @${REINPLACE_CMD} -e '/opt1/d' ${WRKSRC}/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509091302.t89D2Im3092676>