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 versions of dh_make can generate CDBS "rules" files.

The need

Several files are necessary for the creation of a debian package. One such file, the "rules" file, is a Makefile that contains rules for creating a dpkg. The "rules" file performs several tasks, such as compiling the software, installing into a temporary directory, building the dpkg from the temporary installed software, and cleaning up the temporary files that it created. Naturally, this can take a lot of code to accomplish, but much of the code will be duplicated among "rules" files, even if debhelper is used. This decreases readability of the "rules" files and makes them more difficult to maintain.

How it works

CDBS has makefile snippets that can be included in a Makefile. These snippets implement actions that usually would need to be typed directly into the "rules" file. If need be, these rules can be extended using double colon rules. This greatly reduces the size of "rules" files. For example, a typical "rules" file that uses only debhelper to automate frequently done tasks can be over 80 lines. Using CDBS, the "rules" file can be rewritten to be only 5 lines.

ee also

*Debian build toolchain

External links

* [ CDBS alioth homepage]

Wikimedia Foundation. 2010.

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

Look at other dictionaries:

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

  • CDBS — • Calibration Data Base System • Connectionless Data Bearer Service …   Acronyms

  • CDBS — [1] Calibration Data Base System [2] Connectionless Data Bearer Service …   Acronyms von A bis Z

  • CDBS — Calibration Database Software Contributor: GSFC …   NASA Acronyms

  • CDBS — abbr. Connectionless Data Bearer Service …   United dictionary of abbreviations and acronyms

  • UNC-TV — Infobox Broadcast call letters = UNC TV station station slogan = Life Changing Television for All of North Carolina station branding = UNC TV analog = see table below digital = see table below affiliations = PBS founded = January 8, 1955 location …   Wikipedia

  • Georgia Public Broadcasting — (GPB) is the public radio and television broadcast network in the U.S. state of Georgia. It operates all of the PBS and NPR stations in Georgia, except WPBA TV, WABE FM and WCLK FM in Atlanta, WFSL FM in Thomasville (which relays WFSQ FM from FSU …   Wikipedia

  • Alabama Public Television — Infobox Broadcast call letters = Alabama Public Television city = station station slogan = Learn something new every day. station branding = APT analog = see table below digital = see table below other chs = affiliations = PBS network = founded …   Wikipedia

  • WRKK — Infobox Radio station name = WRKK city = Hughesville, Pennsylvania area = branding = The News/Talk Network slogan = frequency = 1200 kHz repeater = airdate = format = News/Talk power = 10,000 watts (day) 250 watts (night) class = B facility id =… …   Wikipedia

  • KTYJ-LP — Infobox Broadcast call letters = KTYJ LP station station slogan = station branding = analog = 58 (UHF) digital = other chs = affiliations = America One founded = July 9 1990 location = Coeur d Alene, Idaho callsign meaning = former callsigns =… …   Wikipedia

Share the article and excerpts

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