>>> "Sergey" == Sergey Udaltsov <[EMAIL PROTECTED]> 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
