Scripting buildpackage for maint tools

Steve Conklin sconklin at canonical.com
Thu Jul 8 17:59:15 BST 2010


On Wed, 2010-07-07 at 22:28 +0200, Loïc Minier wrote:
> On Wed, Jul 07, 2010, Steve Conklin wrote:
> > dpkg-buildpackage -S -rfakeroot -I.git -I.gitignore -i'\.git.*'
> 
>  -rfakeroot is default, and -i and -I have defaults so that you could
>  use:
>     dpkg-buildpackage -S -I
>  or:
>     dpkg-buildpackage -S -i
> 
>  (-I flags are for native packages and -i are for non-native ones)
> 
>  or simply always both:
>     dpkg-buildpackage -S -i -I
> 
>  this will exclude otherstuff such as editor backup files, .bzr
>  .bzrignore, CVS/ etc. but usually it's not an issue to exclude all
>  these.
> 
> -- 
> Loïc Minier
> 

Thanks Loïc,

I just found that the output of "dpkg-source --help" lists the defaults
for -i and -I

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/kernel-team/attachments/20100708/2b7ae6e5/attachment.pgp 


More information about the kernel-team mailing list