+Tue Apr 15 12:12:28 1997 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (handle_subdirs): Typo fix. From Akim Demaille.
+
+ * automake.in (handle_tags): Only use SUBDIRS if it is actually
+ defined. Report from Ian Taylor.
+
+ * tags.am: Added prefix to SUBDIRS rules.
+
Wed Apr 9 17:09:40 1997 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_ltlibraries): Use correct rpath
It would not be what it is today without the invaluable help of these
people:
+Akim Demaille <demaille@inf.enst.fr>
Alexander V. Lukyanov <lav@yars.free.net>
Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>
Anthony Green <green@cygnus.com>
Greg A. Woods <woods@most.weird.com>
Harlan Stenn <Harlan.Stenn@pfcs.com>
Henrik Frystyk Nielsen <frystyk@w3.org>
+Ian Lance Taylor <ian@cygnus.com>
Janos Farkas <chexum@shadow.banki.hu>
Jason Molenda <crash@cygnus.co.jp>
Jerome Santini <santini@chambord.univ-orleans.fr>
+** make sure every variable that is used is also defined
+
+* make sure `missing' defines are generated
+* if no AM_INIT_AUTOMAKE, then don't handle `missing' stuff.
+ Yuck!
+
+* allow 'cygnus' in AUTOMAKE_OPTIONS
+
+
+
* NORMAL_INSTALL / NORMAL_UNINSTALL -vs- recursive rules
[ requires changes to the standard ]
+* if foo.y is a source, foo.h isn't auto-distributed?
+
* dependency tracking doesn't work well when a file is removed
the new code to track header dependencies exacerbates this
what is the fix?
as a side effect of compilation
This still won't solve the file-deletion problem
-* make sure `missing' defines are generated
-
* copyrights on m4 files, aclocal output
* is there a way to add a directory and then have "make" do all the
* put standards.texi into distribution
-* if no AM_INIT_AUTOMAKE, then don't handle `missing' stuff.
- Yuck!
* should not put texiname_TEXINFOS into distribution
should rename this macro anyway, to foo_texi_DEPENDENCIES
$xform = ('s/\@CONFIG\@/' . $xform . '/;'
. 's/\@DIRS\@/' . join (' ', @tag_deps) . '/;');
+ if (&variable_defined ('SUBDIRS'))
+ {
+ $xform .= 's/^SUBDIRS//;';
+ }
+ else
+ {
+ $xform .= 's/^SUBDIRS.*$//;';
+ }
+
$output_rules .= &file_contents_with_transform ($xform, 'tags');
$output_rules .= &file_contents ('tags-clean');
push (@clean, 'tags');
next;
}
- &am_relative_dir ('SUBDIRS',
- "directory should not contain \`/'")
+ &am_line_error ('SUBDIRS', "directory should not contain \`/'")
if $dir =~ /\//;
}
TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
tags=; \
here=`pwd`; \
-## It is ok to examine SUBDIRS here in every case; if it is empty,
-## there is a slight performance hit. But we don't care.
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
- done; \
+SUBDIRS list='$(SUBDIRS)'; for subdir in $$list; do \
+SUBDIRS test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+SUBDIRS done; \
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)
TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
tags=; \
here=`pwd`; \
-## It is ok to examine SUBDIRS here in every case; if it is empty,
-## there is a slight performance hit. But we don't care.
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
- done; \
+SUBDIRS list='$(SUBDIRS)'; for subdir in $$list; do \
+SUBDIRS test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+SUBDIRS done; \
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)