Version 1 (modified by jdreed, 12 years ago) (diff) |
---|
Building A Package
The debuild command is used to actually build the package. Recall that back in GettingStartedWithDevelopment we set some default options for debuild, and this documentation assumes those examples have been set.
To build your package, change to the root directory of the package (which contains a debian directory), and type:
debuild
If all went well, the build should succeed, and the .deb file should have been created in the _parent directory_ of the one you're currently in.
Troubleshooting
A common problem is not having build dependencies installed.
Cleaning Up
If you look at your package's directory now, you'll see a lot more files than were originally there. These were created as part of the build process. You can clean up with the command:
debuild clean
This will remove any files created by the build process.