From ff38ebc5c5ad1fd161c246168d329e8787de06dd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 1 Jan 2002 22:01:07 +0000 Subject: [PATCH] * automake.texi (Extending): Mention uninstall-hook. (Install): Likewise. * automake.in (handle_factored_dependencies): Allow uninstall-hook. --- ChangeLog | 7 +++++++ Makefile.in | 1 + NEWS | 1 + automake.in | 2 +- automake.texi | 8 ++++---- stamp-vti | 4 ++-- version.texi | 4 ++-- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index c3d58f53..5835712c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-01-01 Tom Tromey + + * automake.texi (Extending): Mention uninstall-hook. + (Install): Likewise. + * automake.in (handle_factored_dependencies): Allow + uninstall-hook. + 2002-01-01 Alexandre Duret-Lutz * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s, diff --git a/Makefile.in b/Makefile.in index acaa25f1..dcc9a126 100644 --- a/Makefile.in +++ b/Makefile.in @@ -460,6 +460,7 @@ install-am: all-am 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: diff --git a/NEWS b/NEWS index a034fe91..f5571ab8 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ New in 1.5b: * 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 New in 1.5: * Support for `configure.ac'. diff --git a/automake.in b/automake.in index ef672461..00c99f6b 100755 --- a/automake.in +++ b/automake.in @@ -4265,7 +4265,7 @@ sub handle_factored_dependencies # 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")) { diff --git a/automake.texi b/automake.texi index 2ac960bd..b38fcc05 100644 --- a/automake.texi +++ b/automake.texi @@ -3534,8 +3534,8 @@ Automake also generates an @code{uninstall} target, an @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 @@ -4410,8 +4410,8 @@ install-data-local: 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 diff --git a/stamp-vti b/stamp-vti index f8379f67..ef0409ca 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@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 diff --git a/version.texi b/version.texi index f8379f67..ef0409ca 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@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 -- 2.43.5