On Sun, Nov 26, 2000 at 02:40:51PM -0500, Steve Robbins wrote:
> In light of the above, one solution that suggests itself is to just stick
> autoconf and automake in the Build-depends line, and
>
> 1. run "make maintainer-clean" in debian/rules(clean), to avoid diffing
> Makefile.in files, and
>
> 2. insert the proper sequence of "aclocal -I m4", "autoheader",
> "autoconf", etc in debian/rules(configure).
>
>
> Is it kosher to require auto* tools for building stuff? Are there
> pitfalls with this that I'm overlooking? What do other people do?
What I do (for a package that modifies Makefile.am, but not configure.in):
1. Build-Depends: automake, autoconf
2. In debian/rules:
- automake
- configure
- make
I ship the upstream sources with the original Makefile.in's to avoid a huge
diff, and only patched Makefile.am's. I believe the automake-generated
makefiles will automatically rebuild .in from .am at compile time, but I run
automake explicitly to make it clear that this is what is intended.
You should be able to do the same thing with autoconf/configure.in/configure.
--
- mdz
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]