Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have build a debian package with:

$ dpkg-buildpackage -rfakeroot

now I would like to change the configuration in the .dsc file and build again. How can I clean the files created by the previous build? I tried

$dpkg-buildpackage -tc

but it seems that doesn't do the job.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Please use debuild instead of calling dpkg-buildpackage directly, as that's just one of the steps. Simplest basic method is to build the binary packages along with unsigned source and unsigned changelog, do in the debian/ directory of the source

$ debuild -uc -us

You can call the clean target on debuild to clean up.

$ debuild clean
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.