[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?
>
> See DISTCHECK_CONFIGURE_FLAGS.
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 Makefile.am says:
...
SUBDIRS= ... @MAKE_SNTP@ ...
DIST_SUBDIRS= $(SUBDIRS) sntp
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 Makefile.am in it.
At Alexandre's suggestion I added:
DISTCHECK_CONFIGURE_FLAGS= --with-sntp
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.
H
- 1.7.6, DIST_SUBDIRS, and distcheck, Harlan Stenn, 2003/08/13
- Re: 1.7.6, DIST_SUBDIRS, and distcheck, Raja R Harinath, 2003/08/13
- Re: 1.7.6, DIST_SUBDIRS, and distcheck, Harlan Stenn, 2003/08/13
- Re: 1.7.6, DIST_SUBDIRS, and distcheck, Alexandre Duret-Lutz, 2003/08/14
- Re: 1.7.6, DIST_SUBDIRS, and distcheck,
Harlan Stenn <=
- Re: 1.7.6, DIST_SUBDIRS, and distcheck, Alexandre Duret-Lutz, 2003/08/17
- Re: 1.7.6, DIST_SUBDIRS, and distcheck, Eric Siegerman, 2003/08/22