GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Building the Debian Package: First Time |
Now you are ready to build and check the new package:
$ dpkg-buildpackage -rfakeroot |
The appropriate package files are placed into the parent directory and are: wajig_2.0.20-1_i386.changes, wajig_2.0.20-1.dsc, wajig_2.0.20-1_all.deb, and wajig_2.0.20-1.diff.gz
Now check it all looks okay.
$ cd .. $ lintian -i wajig_2.0.20-1_i386.changes $ linda -i wajig_2.0.20-1_i386.changes |
Typical “errors” can be fixed by removing the debian/README.Debian file if you have not changed it and leaving the “*.ex” files in the debian directory (remove them). There are often suggestions as to how to fix the errors.