Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a simple project where I'm experimenting with deb creating: https://github.com/bessarabov/sample-deb I can create package with debuild, but I got lintian warning:

W: sample source: diff-contains-git-control-dir .git

And lintian is right. In the file sample_1.00.tar.gz I have content of the .git folder. There is a simple solution for this: I can run

debuild -I

And in this case there will be no .git/ in tar.gz. But I don't like the idea to specify additional parameters in the command line. There is always a chance to forget to specify that parameters. But I hope there is some way I can place this parameter somewhere in debian/rules file.

How can I fix this lintian warning when building package with debuild?

share|improve this question
    
If you forget to run debuild with -I then you get a lintian warning, but what's the problem with the warning? Does it make your package upload fail? –  mfisch Oct 21 '12 at 2:32
add comment

closed as too localized by Luis Alvarado Mar 14 '13 at 16:10

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.