| 3505 |
</section> |
</section> |
| 3506 |
<section id="sourceopt"><title><filename>source/options</filename> file</title> |
<section id="sourceopt"><title><filename>source/options</filename> file</title> |
| 3507 |
<para> |
<para> |
| 3508 |
When you want to build source package while ignoring meaningless changes made |
When you want to build a source package while ignoring changes made |
| 3509 |
to the autogenerated files such as <filename>config.sub</filename> |
to the autogenerated files such as <filename>config.sub</filename> |
| 3510 |
<filename>config.guess</filename> and <filename>Makefile</filename>, you can |
<filename>config.guess</filename> and <filename>Makefile</filename>, you can |
| 3511 |
use <literal>--extend-diff-ignore</literal> option of <citerefentry> |
use <literal>--extend-diff-ignore</literal> option of <citerefentry> |
| 3512 |
<refentrytitle>dpkg-source</refentrytitle><manvolnum>1</manvolnum> |
<refentrytitle>dpkg-source</refentrytitle><manvolnum>1</manvolnum> |
| 3513 |
</citerefentry>. If this is the case for your package, you can store this |
</citerefentry>. |
| 3514 |
option for everybody in the source package using the |
</para> |
| 3515 |
<filename>source/options</filename> file as follows. |
<para> |
| 3516 |
|
Even if your package can not be packaged easily using |
| 3517 |
|
<command>dh_autoreconf</command> as described in <xref linkend="customrules"/>, |
| 3518 |
|
you can package it cleanly by storing the <command>dpkg-source</command> option |
| 3519 |
|
in the <filename>source/options</filename> file to avoid creating meaningless |
| 3520 |
|
patches as follows. |
| 3521 |
</para> |
</para> |
| 3522 |
<screen> |
<screen> |
| 3523 |
extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile)$" |
extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile)$" |