This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Conditional info_TEXINFOS
Tom Tromey <tromey@redhat.com> writes:
>
> The special case is creating them unconditionally.
Yes, I think I was unclear. I think I meant "all" or "install" to
obey conditionals, and "dist" alone to do everything unconditionally.
Anyway, I find SUBDIRS can be fudged in the way I had for INFO_DEPS,
to get the whole directory in question conditional in a normal build,
but unconditional for a maintainer build (so make dist is right). A
dirty hack, but near enough is good enough :).
if WANT_FOO
FOO_DIR = foo
else
if MAINTAINER_MODE
FOO_DIR = foo
endif
endif
SUBDIRS = ... $(FOO_DIR) ...