/usr/share/doc/svn-buildpackage/html/ch04s02.html is in svn-buildpackage 0.8.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Building the package</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="svn-buildpackage - maintaining Debian packages with Subversion"><link rel="up" href="ch04.html" title="Chapter 4. Common tasks"><link rel="prev" href="ch04.html" title="Chapter 4. Common tasks"><link rel="next" href="ch04s03.html" title="Working with source"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Building the package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Common tasks</th><td width="20%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr></table><hr></div><div class="sect1" title="Building the package"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="build"></a>Building the package</h2></div></div></div><p>Change to your <code class="filename">trunk</code> directory and run:
</p><div class="example"><a name="idp18564080"></a><p class="title"><b>Example 4.2. <span class="command">svn-buildpackage</span></b></p><div class="example-contents"><pre class="programlisting">
$ svn-buildpackage -us -uc -rfakeroot
</pre></div></div><br class="example-break"><p>You may recognise the options above -- they are passed directly to
the build command (<span class="command"><strong>dpkg-buildpackage</strong></span> by default).
Normally, the build is done in another directory (exporting the source
with <code class="computeroutput">cp-la-like</code> method). If you want
the resulting packages to be placed in the directory above, use the
<code class="option">--svn-move</code> option. To run Lintian after the build,
use <code class="option">--svn-lintian</code> option. More options are
described in the <a class="link" href="re01.html" title="svn-buildpackage">manpage</a>.
</p><p>To build in a chroot using <span class="command"><strong>pdebuild</strong></span>, use:
</p><div class="example"><a name="idp18573568"></a><p class="title"><b>Example 4.3. pdebuild example</b></p><div class="example-contents"><pre class="programlisting">
svn-buildpackage --svn-builder pdebuild
</pre></div></div><br class="example-break"><p>For frequently used commands, use an alias in your
<code class="filename">~/.bashrc</code> file:
</p><div class="example"><a name="idp18574872"></a><p class="title"><b>Example 4.4. Useful aliases</b></p><div class="example-contents"><pre class="programlisting">
alias svn-bp='svn-buildpackage -rfakeroot -D --svn-noautodch --svn-builder debuild'
alias svn-bpi='svn-buildpackage -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-ignore-new'
alias svn-bpir='svn-buildpackage -us -uc -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-ignore-new --svn-rm-prev-dir'
alias svn-bpr='svn-buildpackage -us -uc -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-rm-prev-dir'
alias svn-pbp='svn-buildpackage --svn-noautodch --svn-builder pdebuild'
</pre></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 4. Common tasks </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Working with source</td></tr></table></div></body></html>
|