bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Logical conflict between EXTRA_DIST and AC_OUTPUT


From: Alexandre Duret-Lutz
Subject: Re: Logical conflict between EXTRA_DIST and AC_OUTPUT
Date: Tue, 19 Apr 2005 00:35:00 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>> "Sergey" == Sergey Udaltsov <address@hidden> writes:

 Sergey> Hi ppl
 Sergey> In Makefile.am there is a line:
 Sergey> EXTRA_DIST=... mypackage.spec

 Sergey> At the same time I mention in configure.in AC_OUTPUT mypackage.spec -
 Sergey> which is generated from mypackage.spec.in. Is is correct that "make
 Sergey> distclean" removes the mypackage.spec (because it is in AC_OUTPUT).
 Sergey> Probably it should not remove it (because it is in EXTRA_DIST)?

If a file is distributed, it should not be rebuild by configure.
If a file is build by configure, there is not point in distributing it.

In your case I suggest you build mypackage.spec from a custom
rule in Makefile.am.  See how Automake builds its copy if
m4/amversion.m4 for instance.
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]