it even when SUBDIRS not conditional.
Sun Sep 27 20:02:21 1998 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_dist_worker): If DIST_SUBDIRS defined, use
+ it even when SUBDIRS not conditional.
+
* automake.in (quote_cond_val): Turn tabs into \003.
(unquote_cond_val): Turn \003 back into tabs. Fixes test
cond6.test.
what is the fix?
ANSWER: for each dependency foo.h, make a dummy target `foo.h:'
in the .P file. Then the right thing ought to happen
+ [ No, that won't work if the .h file is auto-generated
+ instead must rely on a fix in make ]
* If you suppress an internal variable by specifying a variable
in a Makefile.am, but the variable is conditional, then automake
* quoting bugs
- how to install file with a space in its name?
+ [ don't bother with this -- make is just too losing ]
* "make diff" capability
look at gcc's Makefile.in to see what to do
Yuck!
* missing should handle install -d and rmdir -p (for uninstall)
-* allow 'cygnus' in AUTOMAKE_OPTIONS
-
* a couple ways to be smarter:
- notice when a .c file is a target somewhere, and auto-add it to
BUILT_SOURCES
if (&variable_defined ('SUBDIRS'))
{
# If SUBDIRS is conditionally defined, then set DIST_SUBDIRS
- # to all possible directories, and use it.
- if (! &variable_conditions ('SUBDIRS'))
- {
- $dist_subdir_name = 'SUBDIRS';
- }
- else
+ # to all possible directories, and use it. If DIST_SUBDIRS is
+ # defined, just use it.
+ local ($dist_subdir_name);
+ if (&variable_conditions ('SUBDIRS')
+ || &variable_defined ('DIST_SUBDIRS'))
{
$dist_subdir_name = 'DIST_SUBDIRS';
if (! &variable_defined ('DIST_SUBDIRS'))
'all'));
}
}
+ else
+ {
+ $dist_subdir_name = 'SUBDIRS';
+ }
# Test for directory existence here because previous automake
# invocation might have created some directories. Note that