packaging new software: clarify use of bzr add+commit if adding files to debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Packaging Guide |
New
|
Undecided
|
Unassigned |
Bug Description
I'm new to packaging and followed the guide which is in general easy to follow. But one thing tripped me up for a long time and I couldn't figure out why my packages would compile without problems for a single package but would create empty packages if a multiple packages.
The problem was that I added files to debian/ from packages of older versions but it was not clear to me that I had to add them to bzr first before they would be included in the bzr builddeb. Therefore, a small comment would help others who're new to packaging and bzr. Something along these lines:
insert in the "building the package" paragraph
"""
Make sure that you always add and commit files that you copied into the debian/ directory. Otherwise bzr builddeb will not use them.
Use the following commands:
bzr add debian
bzr commit -m "added files from previous package"
"""