Author: tille
Date: 2015-05-09 15:37:30 +0000 (Sat, 09 May 2015)
New Revision: 19172
Modified:
trunk/community/website/docs/policy.xml
Log:
Remove outdated quilt integration
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2015-05-09 07:30:57 UTC (rev
19171)
+++ trunk/community/website/docs/policy.xml 2015-05-09 15:37:30 UTC (rev
19172)
@@ -1037,48 +1037,6 @@
<para>Please see <command>man 1
quilt</command> to have a
comprehensive list of commands.</para>
</sect4>
- <sect4 id="quilt-integration">
- <title>Integration in the build
process</title>
- <para>Add in the very first part of
<filename>debian/rules</filename>
- (i.e. before the targets), the
line:</para>
- <blockquote>
- <programlisting>include
<filename
class="headerfile">/usr/share/quilt/quilt.make</filename></programlisting>
- </blockquote>
- <para>Please use this to import patch
and unpatch rules instead of writing them, and remember to add the needed
dependencies to its
- targets:</para>
- <blockquote>
- <programlisting>...
-build: patch build-stamp
-build-stamp: configure
-...</programlisting>
- </blockquote>
- <para>This kind of dependency will
ensure that if you also
- patch the build system, you get a
working patched build
- process.</para>
- <caution>
- <para>Don't also put configure
as a dependency of
- build (leave it in
build-stamp): that may cause problems
- during parallel buildings (i.e.
the -j flag of make).</para>
- </caution>
- <para>Now add a dependency to the clean
target:</para>
- <blockquote>
- <programlisting>...
-clean: unpatch
-...</programlisting>
- </blockquote>
- <para>If you've also patched the build
system, using upstream's
- clean target might fail. This is what
you should do:</para>
- <blockquote>
- <programlisting>...
-clean: clean-patched unpatch
-clean-patched:
-...</programlisting>
- </blockquote>
- <para>Obviously, you could always use
an approach like this,
- but it's an useless complication if you
don't patch the build
- system, and you should keep
<filename>debian/rules</filename>
- the simplest you can.</para>
- </sect4>
</sect3>
<sect3 id="dpatch">
<title>Using <command>dpatch</command></title>
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit