| 44 | * `debian/`''`package`''`.install`: Pairs, one per line, of files and directories to install them to. Understands “*” and copies directories recursively. |
| 45 | * `debian/`''`package`''`.links`: Pairs, one per line, of a target and the name of the symlink to create. |
| 46 | * `debian/`''`package`''`.init`: The package’s init script. Code to run update-rc.d and run the init script at package installation and removal is automatically added to maintainer scripts. |
| 47 | * `debian/`''`package`''`.cron.d`: cron job to be automatically installed into /etc/cron.d. |
| 48 | * `debian/`''`package`''`.docs`: List documentation files/directories to be automatically installed into /usr/share/doc/package. |
| 49 | * `debian/`''`package`''`.dirs`: List directories to be automatically created. |
| 50 | * `debian/`''`package`''`.postinst`: The package’s postinst maintainer script. Make sure you include #DEBHELPER# in maintainer scripts and handle all the right arguments. The best way to do this is to start from /usr/share/debhelper/dh_make/debian/postinst.ex. |
45 | | debian/package.install |
46 | | Pairs, one per line, of files and directories to install them to. Understands “*” and copies directories recursively. |
47 | | debian/package.init |
48 | | The package’s init script. Code to run update-rc.d and run the init script at package installation and removal is automatically added to maintainer scripts. |
49 | | debian/package.cron.d |
50 | | cron job to be automatically installed into /etc/cron.d. |
51 | | debian/package.docs |
52 | | List documentation files/directories to be automatically installed into /usr/share/doc/package. |
53 | | debian/package.dirs |
54 | | List directories to be automatically created. |
55 | | debian/package.postinst |
56 | | The package’s postinst maintainer script. Make sure you include #DEBHELPER# in maintainer scripts and handle all the right arguments. The best way to do this is to start from /usr/share/debhelper/dh_make/debian/postinst.ex. |
57 | | Below are a number of tables of commands and information sources that should help you get all the information you need to make packages using CDBS. However, you probably should look at some more examples and probably need some practice. Plentiful examples are available in the CDBS gallery and the Debathena source tree; for practice, a good exercise is to pick a random package, delete its debian/rules file, and try to get it working using CDBS. |
| 52 | |