Replacing aclocal.m4

2007-08-06 Thread David Given
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm current packaging ufiformat, a USB floppy disk formatter (#436134). It's
nearly at the stage of looking for a sponsor, but before that happens I'd like
to sound people out about something.

I needed to change Makefile.am to tell it to install the binary in the right
place. When rebuilding, autotools whinged about aclocal.m4 being too old and
that I should regenerate it, which I did. Now the (compressed) patch file is
80+kB, only slightly smaller than the source code itself, and is almost
entirely comprised of the new aclocal.m4.

Is this acceptable, or does it need addressing? If so, how?

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───
│
│ There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs. --- Flon's Axiom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtwNGf9E0noFvlzgRAu99AKCRHqkVYtfguTxFA/cA7M6YSc5POwCg1j1U
ojQL6IEKWjPEZcOrB5IC5CM=
=6wuJ
-END PGP SIGNATURE-



Re: Replacing aclocal.m4

2007-08-06 Thread Justin Pryzby
On Mon, Aug 06, 2007 at 12:17:26PM +0100, David Given wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm current packaging ufiformat, a USB floppy disk formatter (#436134). It's
 nearly at the stage of looking for a sponsor, but before that happens I'd like
 to sound people out about something.
 
 I needed to change Makefile.am to tell it to install the binary in the right
 place. When rebuilding, autotools whinged about aclocal.m4 being too old and
 that I should regenerate it, which I did. Now the (compressed) patch file is
 80+kB, only slightly smaller than the source code itself, and is almost
 entirely comprised of the new aclocal.m4.
 
 Is this acceptable, or does it need addressing? If so, how?
It's acceptable and preferred by some.

Otherwise you can depend on autotools-dev and run them at build time,
and remove the generated files at clean time to get a small diff.

autotools-dev/README.DEBIAN discusses such.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Replacing aclocal.m4

2007-08-06 Thread David Given
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Justin Pryzby wrote:
[...]
 Otherwise you can depend on autotools-dev and run them at build time,
 and remove the generated files at clean time to get a small diff.

This approach works fine; I'm now running aclocal, automake and autoconf at
build time (adding automake to the build-deps list). The diff is now 3kB, a
sizeable improvement over 80kB. Ta.

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───
│
│ There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs. --- Flon's Axiom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtz2Of9E0noFvlzgRAnzQAJ9U+n7tiHMlgvVmd+cIlHkr/ZjGAQCfcmdI
PCM6i1NNDcY9SpvybG4RraI=
=wlqU
-END PGP SIGNATURE-