automake
[Top][All Lists]
Advanced

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

make dist and BUILT_SOURCES


From: Robert Collins
Subject: make dist and BUILT_SOURCES
Date: Tue, 3 Apr 2001 23:01:42 +1000

Yet another question from the newbie.

I have a number of built source (.hand .c) files that are built from
other soources/configure settings.

"make dist" is failing to find these files. (Some of them shouldn't be
included in the distribution, and some can be).

is there some way to exclude specific built sources from the
disrtribution?

Some examples:
store_modules.c is a stub that initialises each of the fs modules. It's
created via shell script based on the configure parameters. It should
never exist in the src dir, only in the build dir.
cf_gen_defines.h is generated from the configuration file sources, and
is used by the parser. It can exist in the srcdir or build dir (through
historically it was built in the build dir).

So for cf_gen_defines.h and similar fiels I can make them be built into
the src dir, and then make dist finds them. That still leaves me with
files that should only be built in the build dir and not distributed.

Rob




reply via email to

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