+Sat Dec 9 10:16:48 1995 Tom Tromey <tromey@cambric.colorado.edu>
+
+ * tags.am (TAGS): Use "test -z ... ||" to avoid spurious
+ failures.
+
+ * texinfos.am (install-info): Don't do install-info for now.
+
+ * clean.am (distclean-generic): Don't remove config.status here.
+ * automake.in (do_one_clean_target): Remove config.status later,
+ for 'make -j2'. From Jim Meyering.
+
Fri Dec 8 16:30:48 1995 Tom Tromey <tromey@cambric.colorado.edu>
* configure.in (VERSION): Version 0.25.
-# Makefile.in generated automatically by automake 0.24 from Makefile.am
+# Makefile.in generated automatically by automake 0.25 from Makefile.am
# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
for ifile in $${file}*; do \
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
done; \
- $(SHELL) -c 'install-info --version' >/dev/null 2>&1 \
- && install-info --infodir=$(infodir) $$d/$$file; \
done
uninstall-info:
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log config.status $(CONFIG_HEADER) stamp-h
+ rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
maintainer-clean-generic:
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: mostlyclean clean-binSCRIPTS clean-vti clean-info clean-tags clean-generic
distclean: clean distclean-binSCRIPTS distclean-vti distclean-info distclean-tags distclean-generic
+ rm -f config.status
maintainer-clean: distclean maintainer-clean-binSCRIPTS maintainer-clean-vti maintainer-clean-info maintainer-clean-tags maintainer-clean-generic
@echo "This command is intended for maintainers to use;"
. "\t\@echo \"it deletes files that may require special "
. "tools to rebuild.\"\n");
}
+ elsif ($name . $target eq 'distclean'
+ || $name . $tar eq 'maintainer-clean')
+ {
+ $output_rules .= "\trm -f config.status\n";
+ }
$output_rules .= "\n";
}
}
# Lines starting with "##" are comments for developer use only.
- # Maybe this is a bad idea?
local ($result) = '';
while (<FC_FILE>)
{
it does not presently use @code{automake}). The top level
@file{Makefile.am} for a deep package will contain a @samp{SUBDIRS}
macro, but no other macros to define objects which are built.
-Typically, @samp{PRGORAMS} is defined in @file{src/Makefile.am}.
+Typically, @samp{PROGRAMS} is defined in @file{src/Makefile.am}.
A shallow package is one in which the primary source resides in the
top-level directory, while various parts (typically libraries) reside in
subdirectories. Note that the directories listed in @samp{SUBDIRS} are
not expected to contain @file{Makefile.am}s; only @file{Makefile}s
(after configuration). This allows inclusion of libraries from packages
-which do not use @code{automake} (such as gettext).
+which do not use @code{automake} (such as @code{gettext}).
If @samp{SUBDIRS} is defined, then your @file{configure.in} must include
@code{AC_PROG_MAKE_SET}.
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log config.status $(CONFIG_HEADER) stamp-h
+ rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
maintainer-clean-generic:
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log config.status $(CONFIG_HEADER) stamp-h
+ rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
maintainer-clean-generic:
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
tags="$$tags -i $$here/$$subdir/TAGS"; \
} \
done; \
-## Make sure we have something to run etags on. See clean.am to
-## understand "if...else" braindamage.
- test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
- && etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
+## Make sure we have something to run etags on.
+ test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
+ || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
for ifile in $${file}*; do \
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
done; \
- $(SHELL) -c 'install-info --version' >/dev/null 2>&1 \
- && install-info --infodir=$(infodir) $$d/$$file; \
+## We need the 'else true' because in some broken versions of sh 'if'
+## will return false if the test fails.
+## FIXME no one has install-info, so for now we just comment it out.
+## if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+## install-info --infodir=$(infodir) $$d/$$file; \
+## else true; fi; \
done
uninstall-info:
tags="$$tags -i $$here/$$subdir/TAGS"; \
} \
done; \
-## Make sure we have something to run etags on. See clean.am to
-## understand "if...else" braindamage.
- test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
- && etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
+## Make sure we have something to run etags on.
+ test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
+ || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
for ifile in $${file}*; do \
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
done; \
- $(SHELL) -c 'install-info --version' >/dev/null 2>&1 \
- && install-info --infodir=$(infodir) $$d/$$file; \
+## We need the 'else true' because in some broken versions of sh 'if'
+## will return false if the test fails.
+## FIXME no one has install-info, so for now we just comment it out.
+## if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+## install-info --infodir=$(infodir) $$d/$$file; \
+## else true; fi; \
done
uninstall-info:
-@set UPDATED 8 December
+@set UPDATED 9 December
@set EDITION 0.25
@set VERSION 0.25