bug-automake
[Top][All Lists]
Advanced

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

make dist vs. conditional installdirs


From: Ralf Corsepius
Subject: make dist vs. conditional installdirs
Date: Fri, 09 Jan 2004 11:31:06 +0100

Another issue with conditional installdirs:

Given this Makefile.am:
if HAVE_FOO
include_HEADERS = foo.h
lib_LIBRARIES = libfoo.a
libfoo_a_SOURCES = foo.c
endif

If condition HAVE_FOO is false, foo.h isn't distributed (isn't put into
the tarball during make dist), but foo.c is.

# tar tzvf autobug-0.0.tar.gz | grep foo
autobug-0.0/foo.c

I thought *_HEADERS were always distributed, similar to *_SOURCES.

Ralf






reply via email to

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