.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 .\" .\" Standard preamble: .\" ======================================================================== .de Sh \" Subsection heading .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .\" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .hy 0 .if n .na .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "DEBAUX-BUILD 1p" .TH DEBAUX-BUILD 1p "2007-07-15" "perl v5.8.8" "User Contributed Perl Documentation" .SH "NAME" debaux\-build \- Debian package building script .SH "SYNOPSIS" .IX Header "SYNOPSIS" debaux-build [\s-1OPTIONS\s0] \s-1DEBDIR\s0 [\s-1BUILDDIR\s0 \s-1SOURCEDIR\s0] .PP debaux-build \-\-cpan Net::Google .SH "VERSION" .IX Header "VERSION" 0.1.10 .SH "DESCRIPTION" .IX Header "DESCRIPTION" debaux-build is a helper script for building Debian packages. Besides options it takes up to three parameters: \s-1DEBDIR\s0, \s-1BUILDDIR\s0, \&\s-1SOURCEDIR\s0. \s-1DEBDIR\s0 is a required parameter. .PP If \s-1DEBDIR\s0 doesn't exist, debaux-build tries to download the package with apt-get source. .PP debaux-build applies all patches found in the \s-1DEBDIR\s0 subdirectory patches. .PP If no source tarball exist and the \s-1DEBDIR\s0 subdirectory sources exist, all files in this directory get packed and used as source tarball. .SH "OPTIONS" .IX Header "OPTIONS" .ie n .IP """\-\-apt""" 4 .el .IP "\f(CW\-\-apt\fR" 4 .IX Item "--apt" Forces apt-get source mode. .ie n .IP """\-\-archive""" 4 .el .IP "\f(CW\-\-archive\fR" 4 .IX Item "--archive" Specifies file name of source archive. .ie n .IP """\-\-build\-options""" 4 .el .IP "\f(CW\-\-build\-options\fR" 4 .IX Item "--build-options" Options passed to \f(CW\*(C`dpkg\-buildpackage\*(C'\fR. .ie n .IP """\-\-cpan""" 4 .el .IP "\f(CW\-\-cpan\fR" 4 .IX Item "--cpan" Download Perl module from \s-1CPAN\s0 and create necessary Debian packaging files. You need to have the dh-make Debian package installed in order to utilize this option. .ie n .IP """\-\-empty""" 4 .el .IP "\f(CW\-\-empty\fR" 4 .IX Item "--empty" Empty package (no source code archive). Intended to use for task packages. .ie n .IP """\-\-epoch""" 4 .el .IP "\f(CW\-\-epoch\fR" 4 .IX Item "--epoch" Specifies epoch for \s-1CPAN\s0 builds. .RS 4 .ie n .IP """\-\-extra\-sources""" 4 .el .IP "\f(CW\-\-extra\-sources\fR" 4 .IX Item "--extra-sources" Specifies a directory below \s-1DEBDIR\s0 which is copied to the build directory. .RE .RS 4 .ie n .IP """\-i, \-\-install, \-\-install=PACKAGE""" 4 .el .IP "\f(CW\-i, \-\-install, \-\-install=PACKAGE\fR" 4 .IX Item "-i, --install, --install=PACKAGE" Install build package. .RE .RS 4 .ie n .IP """\-l, \-\-lintian""" 4 .el .IP "\f(CW\-l, \-\-lintian\fR" 4 .IX Item "-l, --lintian" Run lintian on the source file and the generated packages. .RE .RS 4 .ie n .IP """\-\-make\-archive""" 4 .el .IP "\f(CW\-\-make\-archive\fR" 4 .IX Item "--make-archive" Intended to use for native Debian packages. Specify the commands to build the archive here. .RE .RS 4 .ie n .IP """\-\-release""" 4 .el .IP "\f(CW\-\-release\fR" 4 .IX Item "--release" The generated packages are targeted for official Debian packages. .RE .RS 4 .ie n .IP """\-\-rpm, \-\-alien""" 4 .el .IP "\f(CW\-\-rpm, \-\-alien\fR" 4 .IX Item "--rpm, --alien" Convert generated packages into \s-1RPM\s0 packages by using \f(CW\*(C`alien\*(C'\fR. .RE .RS 4 .ie n .IP """\-s, \-\-sign""" 4 .el .IP "\f(CW\-s, \-\-sign\fR" 4 .IX Item "-s, --sign" Sign source package and changelog. .RE .RS 4 .ie n .IP """\-\-skip\-patches""" 4 .el .IP "\f(CW\-\-skip\-patches\fR" 4 .IX Item "--skip-patches" Don't apply patches from the patches directory and sources.diff file. .RS 4 .ie n .IP """\-\-source\-tree""" 4 .el .IP "\f(CW\-\-source\-tree\fR" 4 .IX Item "--source-tree" Instructs \f(CW\*(C`debaux\-build\*(C'\fR to use the specified directory instead of an archive file. .RE .RS 4 .ie n .IP """\-\-stop\-before\-build""" 4 .el .IP "\f(CW\-\-stop\-before\-build\fR" 4 .IX Item "--stop-before-build" Stop script before calling \f(CW\*(C`dpkg\-buildpackage\*(C'\fR. .RE .RS 4 .SH "CONFIGURATION FILE" .IX Header "CONFIGURATION FILE" \&\f(CW\*(C`debaux\-build\*(C'\fR looks for the configuration file \f(CW\*(C`.debauxrc\*(C'\fR in the home directory and in the current directory and recognizes the following directives: .ie n .IP """debauxdir"" \s-1PACKAGE\s0" 4 .el .IP "\f(CWdebauxdir\fR \s-1PACKAGE\s0" 4 .IX Item "debauxdir PACKAGE" Used as \f(CW\*(C`DEBDIR\*(C'\fR for package if it is an existing directory. Considered before the directive. .ie n .IP """debiandir""" 4 .el .IP "\f(CWdebiandir\fR" 4 .IX Item "debiandir" If the directory \f(CW\*(C`DEBDIR\*(C'\fR on the commandline doesn't exist, \&\f(CW\*(C`debaux\-build\*(C'\fR appends \f(CW\*(C`DEBDIR\*(C'\fR to the specified directory and tries again. .ie n .IP """sourcedir""" 4 .el .IP "\f(CWsourcedir\fR" 4 .IX Item "sourcedir" Directory with the source archives. Can be overridden by the commandline parameter \f(CW\*(C`SOURCEDIR\*(C'\fR. .ie n .IP """source\-tree"" \s-1PACKAGE\s0" 4 .el .IP "\f(CWsource\-tree\fR \s-1PACKAGE\s0" 4 .IX Item "source-tree PACKAGE" Directory with the source code for \s-1PACKAGE\s0. .RE .RS 4 .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdpkg\fR\|(8), \fIdpkg\-source\fR\|(1), \fIapt\-get\fR\|(8) .SH "AUTHOR" .IX Header "AUTHOR" Stefan Hornburg (Racke) . .SH "LICENSE" .IX Header "LICENSE" debaux-build comes with \s-1ABSOLUTELY\s0 \s-1NO\s0 \s-1WARRANTY\s0. This is free software, and you are welcome to redistribute and modify it under the terms of the \&\s-1GNU\s0 General Public License. .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright 2000,2001,2002,2003,2004,2005,2006,2007 Stefan Hornburg (Racke) .