Debhelper

Debhelper

debhelper is a suite of programs originally written by Joey Hess that help a Debian packager write "rules" files. A "rules" file is a makefile that contains instructions for building and creating a Debian package.

Overview

There are many tasks that need to be performed over and over again in the "rules" files. Instead of cutting and pasting code to do these tasks, debhelper allows a packager to simply call one of its 51 programs to do the task for them.

debhelper can greatly simplify things. Debian includes packages of GNU hello made both with and without debhelper as examples for packagers. The "rules" file that does not use debhelper is 1,978 characters. In contrast, the version that uses debhelper is 1,022 characters.

dh_make

Related to debhelper, there is also a tool called "dh_make". dh_make copies templates of all of the files needed to build a debian package to the source directory of a program. These templates are customized slightly based on information that the user gives and on a cursory examination of how the source code is built. After running dh_make, a developer still has to edit most of the template files to be able to build the package.

Although closely related to it, dh_make is not part of debhelper; it was separately developed by Craig Small.

See also

*CDBS builds on debhelper to allow a user to write even shorter "rules" files.
*Debian GNU/Linux
*Debian build toolchain

External links

* [http://kitenet.net/~joey/code/debhelper debhelper website]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • debhelper — is a suite of programs originally written by Joey Hess that help a Debian packager write rules files. A rules file is a makefile that contains instructions for building and creating a Debian package. Contents 1 Overview 2 dh make 3 See also …   Wikipedia

  • Debhelper — debhelper  это коллекция небольших программ, которые могут быть использованы в файле debian/rules. Изначально она была написана Джо Хессом для помощи майнтейнерам программ Debian писать структурно более простые debian/rules файлы.… …   Википедия

  • debhelper — debhelper  это коллекция небольших программ, которые могут быть использованы в файле debian/rules. Изначально она была написана Джо Хессом для помощи майнтейнерам программ Debian писать структурно более простые debian/rules файлы.… …   Википедия

  • Debian build toolchain — A typical input of the Debian build tools: three files constituting the source package (the bottom) and the unpacked source tree with a debian subdirectory added there by the package maintainer. The Debian build toolchain is a collection of… …   Wikipedia

  • CDBS — (Common Debian Build System)  это абстрактная система сборки программ, основанная на использовании make файлов с заранее предписанными правилами. Все правила могут быть изменены, дополнены или переписаны. Другими словами, CDBS предоставляет… …   Википедия

  • CDBS — is a system that greatly aids in the creation of Debian packages, which are software packages that make the installation of software much easier on Debian GNU/Linux and its derivatives. CDBS is an acronym for Common Debian Build System. Recent… …   Wikipedia

  • Hello world program — Hello World redirects here. For the 2009 compilation album by Michael Jackson, see Hello World: The Motown Solo Collection. For the song by Lady Antebellum, see Hello World (song). A GUI Hello World program, written in Perl …   Wikipedia

  • Joey Hess — is a prominent Debian Developer who is responsible for many parts that make up the Debian operating system today. Contributions Hess joined Debian in August 1996 [cite web|url= http://lists.debian.org/debian… …   Wikipedia

  • Mediaproxy — is an Open Source far end NAT traversal solution for OpenSER. By using Traversal Using Relay NAT protocol (TURN), MediaProxy behaves as a media relay allowing audio and video traffic (RTP streams) to bypass broadband routers without setting up… …   Wikipedia

  • LliureX — Escritorio LliureX V10.09 Desarrollador Consejería Educación de la Generalidad Valenciana …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”