[Top][All Lists]

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

Re: 1.7.6, DIST_SUBDIRS, and distcheck

From: Harlan Stenn
Subject: Re: 1.7.6, DIST_SUBDIRS, and distcheck
Date: Sat, 16 Aug 2003 06:31:20 -0400
User-agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd)

>  Harlan> Is there a way to pass configure options to distcheck's
>  Harlan> "configure" run?

Thanks, and that doesn't work completely either.

(This is for ntp-dev, in case anybody is curious.)

Here's the drill.  ntp now includes an optional (subdir) package, sntp.  It
can be compiled (and installed) along with ntp, or it can be built and
installed all by itself.

If we are building sntp along with ntp, MAKE_SNTP gets the value "sntp", in
which case I also call AC_CONFIG_SUBDIRS(sntp).

The top-level says:


and this didn't work because "make distcheck" wants to run some targets in
DIST_SUBDIRS and this failed because the sntp/ subdir did not have a
generated in it.

At Alexandre's suggestion I added:


so the sntp/ subdir would get built and configured during "distcheck".

The problem is that "sntp" is now in DIST_SUBDIRS twice.

When distcheck runs it calls distclean on DIST_SUBDIRS, and the 2nd time it
tries to run distclean in sntp/ it fails.

I think the rule for running *clean-recursive needs to "uniq" DIST_SUBDIRS.


reply via email to

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