Changes between Initial Version and Version 1 of BuildingAPackage


Ignore:
Timestamp:
10/17/12 17:35:57 (9 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingAPackage

    v1 v1  
     1 = Building A Package = 
     2 
     3The `debuild` command is used to actually build the package.  Recall that back in [wiki:GettingStartedWithDevelopment] we set some default options for debuild, and this documentation assumes those examples have been set. 
     4 
     5To build your package, change to the root directory of the package (which contains a `debian` directory), and type: 
     6 `debuild` 
     7 
     8If 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. 
     9 
     10 == Troubleshooting == 
     11 
     12A common problem is not having build dependencies installed.   
     13 
     14 == Cleaning Up == 
     15 
     16If 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: 
     17 `debuild clean` 
     18 
     19This will remove any files created by the build process.