[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Imprecise documentation -- uninstall-hook
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Imprecise documentation -- uninstall-hook |
Date: |
Mon, 31 Dec 2001 11:10:33 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) |
>>> "Tom" == Tom Tromey <address@hidden> writes:
>>>>>> "Paolo" == Bonzini <address@hidden> writes:
Paolo> The manual refers to a non-existent uninstall-hook target.
Paolo> The attached patch fixes it.
Tom> Thanks, I'm checking this in.
The code still recomends to use uninstall-hook :)
2001-12-31 Alexandre Duret-Lutz <address@hidden>
* automake.in (handle_factored_dependencies): Tell the user to use
uninstall-local instead of uninstall-data-hook,
uninstall-exec-hook, or uninstall-hook.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1252
diff -u -r1.1252 automake.in
--- automake.in 2001/12/31 09:19:33 1.1252
+++ automake.in 2001/12/31 10:06:43
@@ -4225,12 +4225,14 @@
{
# Reject bad hooks.
foreach my $utarg ('uninstall-data-local', 'uninstall-data-hook',
- 'uninstall-exec-local', 'uninstall-exec-hook')
+ 'uninstall-exec-local', 'uninstall-exec-hook',
+ 'uninstall-hook')
{
if (&target_defined ($utarg))
{
my $x = $utarg;
$x =~ s/(data|exec)-//;
+ $x =~ s/hook/local/;
target_error ($utarg, "use `$x', not `$utarg'");
}
}
--
Alexandre Duret-Lutz