120 lines
3.6 KiB
HTML
120 lines
3.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of deb-src-rules</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>deb-src-rules</H1>
|
|
Section: dpkg utilities (5)<BR>Updated: 2017-09-05<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
deb-src-rules - Debian source package rules file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
debian/rules
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This file contains the instructions necessary to build the binary packages
|
|
from the source package.
|
|
<P>
|
|
|
|
The <I>debian/rules</I> file is an executable Makefile, with a shebang that
|
|
is usually set to "#!/usr/bin/make -f".
|
|
<P>
|
|
|
|
It must support the following make targets:
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="1"><B>clean</B>
|
|
|
|
<DD>
|
|
Clean up the source tree, by undoing any change done by any of the build
|
|
and binary targets.
|
|
This target will be called with root privileges.
|
|
<DT id="2"><B>build-indep</B>
|
|
|
|
<DD>
|
|
Build architecture independent files required to build any architecture
|
|
independent binary package.
|
|
If there are no architecture independent binary packages to generate,
|
|
the target must still exist but do nothing.
|
|
This target must not require root privileges.
|
|
<DT id="3"><B>build-arch</B>
|
|
|
|
<DD>
|
|
Build architecture dependent files required to build any architecture
|
|
dependent binary package.
|
|
If there are no architecture dependent binary packages to generate,
|
|
the target must still exist but do nothing.
|
|
This target must not require root privileges.
|
|
<DT id="4"><B>build</B>
|
|
|
|
<DD>
|
|
Build architecture independent and dependent files, either by depending
|
|
(at least transitively) on <B>build-indep</B> and/or <B>build-arch</B> or
|
|
by inlining what those targets would do.
|
|
This target must not require root privileges.
|
|
<DT id="5"><B>binary-indep</B>
|
|
|
|
<DD>
|
|
Build architecture independent binary packages.
|
|
This target must depend (at least transitively) on either <B>build-indep</B>
|
|
or <B>build</B>.
|
|
This target will be called with root privileges.
|
|
<DT id="6"><B>binary-arch</B>
|
|
|
|
<DD>
|
|
Build architecture dependent binary packages.
|
|
This target must depend (at least transitively) on either <B>build-arch</B>
|
|
or <B>build</B>.
|
|
This target will be called with root privileges.
|
|
<DT id="7"><B>binary</B>
|
|
|
|
<DD>
|
|
Build architecture independent and dependent binary packages, either by
|
|
depending (at least transitively) on <B>binary-indep</B> and/or
|
|
<B>binary-arch</B> or by inlining what those targets would do.
|
|
This target will be called with root privileges.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-architecture">dpkg-architecture</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-vendor">dpkg-vendor</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-buildflags">dpkg-buildflags</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-parsechangelog">dpkg-parsechangelog</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-shlibdeps">dpkg-shlibdeps</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-gencontrol">dpkg-gencontrol</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-deb">dpkg-deb</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-distaddfile">dpkg-distaddfile</A></B>(1).
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:03 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|