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 versions of dh_make can generate CDBS rules files.
Contents |
[edit] The need
Several files are necessary for the creation of a deb package. One such file, the rules file, is a Makefile. As such, it contains rules in the sense of the make program. The rules file performs several tasks, such as compiling the software, installing into a temporary directory, building the deb package from the temporarily installed software, and cleaning up the temporary files that it created. Naturally, this can take a lot of code to accomplish. There is also duplication: Many deb packages have similar rules files. This decreases readability of the rules files and makes them more difficult to maintain.
debhelper version 7 also addresses this problem.
[edit] How it works
CDBS has makefile snippets that can be included in a Makefile. These snippets implement actions that originally would usually have been directly included in the rules file. If need be, these rules can be extended using double colon rules. This allowed one to write rules files that were much shorter than the default template for vanilla Makefile based, or even old-style, pre version 7 debhelper based rules files.
[edit] See also
[edit] External links
- CDBS alioth homepage
- Original CDBS Documentation (still maintained)
| This programming tool-related article is a stub. You can help Wikipedia by expanding it. |
| This installation software article is a stub. You can help Wikipedia by expanding it. |