(Install): Likewise.
* automake.in (handle_factored_dependencies): Allow
uninstall-hook.
+2002-01-01 Tom Tromey <tromey@redhat.com>
+
+ * automake.texi (Extending): Mention uninstall-hook.
+ (Install): Likewise.
+ * automake.in (handle_factored_dependencies): Allow
+ uninstall-hook.
+
2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
* Fixed support of implicit rules leading to .lo objects.
* Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
* Added new AM_AUTOMAKE_OPTIONS macro
+* Added uninstall-hook target
\f
New in 1.5:
* Support for `configure.ac'.
# Install the -hook hooks.
# FIXME: Why not be as liberal as we are with -local hooks?
- foreach ('install-exec', 'install-data')
+ foreach ('install-exec', 'install-data', 'uninstall')
{
if (&target_defined ("$_-hook"))
{
@trindex installdirs
@trindex install-strip
-Automake supports @code{uninstall-local}. There is no @code{uninstall-hook}
-as well as no notion of separate uninstalls for ``exec'' and ``data'', as
+Automake supports @code{uninstall-local} and @code{uninstall-hook}.
+There is no notion of separate uninstalls for ``exec'' and ``data'', as
these features would not provide additional functionality.
Note that @code{uninstall} is not meant as a replacement for a real
Some targets also have a way to run another target, called a @dfn{hook},
after their work is done. The hook is named after the principal target,
with @samp{-hook} appended. The targets allowing hooks are
-@code{install-data}, @code{install-exec}, @code{dist}, and
-@code{distcheck}.
+@code{install-data}, @code{install-exec}, @code{uninstall}, @code{dist},
+and @code{distcheck}.
@trindex install-data-hook
@trindex install-exec-hook
@trindex dist-hook
-@set UPDATED 31 December 2001
-@set UPDATED-MONTH December 2001
+@set UPDATED 1 January 2002
+@set UPDATED-MONTH January 2002
@set EDITION 1.5c
@set VERSION 1.5c
-@set UPDATED 31 December 2001
-@set UPDATED-MONTH December 2001
+@set UPDATED 1 January 2002
+@set UPDATED-MONTH January 2002
@set EDITION 1.5c
@set VERSION 1.5c