[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vcs-pkg
Subject:    Re: Dealing with autotools
From:       Russ Allbery <rra () stanford ! edu>
Date:       2009-03-10 21:47:55
Message-ID: 878wnd59tg.fsf () windlord ! stanford ! edu
[Download RAW message or body]

Enrico Zini <enrico@enricozini.org> writes:

> The way I figured so far is this:
>
>  1. git-import-dsc --pristine-tar
>  2. branch off upstream and create a topic branch
>  3. do my changes and test them
>  4. commit only the files that I have changed, and not the files that
>     autotools has regenerated.  This could be a bit cumbersome, but it
>     can be automated with something like:
>       git checkout aclocal.m4 configure `git ls-files -c |grep .in\$`

I think if you add a .gitignore file on topic branches that modify the
Autoconf files.  I think that will do the same thing for you.

> When packaging, I'm undecided on these two options:
>  1. Build-depend on automake and let it rebuilt itself at 'make' time

Definitely the right solution IMO.  This is what I do with all of my
packages.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

_______________________________________________
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic