packaging new software: clarify use of bzr add+commit if adding files to debian

Bug #1183307 reported by Maps United
6
This bug affects 1 person
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"
"""

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.