automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FEATURE REQUEST: Uninstall script should be created by AutoMake.


From: Tom Tromey
Subject: Re: FEATURE REQUEST: Uninstall script should be created by AutoMake.
Date: 05 Mar 2004 15:55:25 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Hans" == Hans Deragon <address@hidden> writes:

Hans>    Automake should create a script that simply contains all the "rm"
Hans>    commands and have it installed with the other binaries.

You could write a program to do this, if you wanted to experiment
with it.  You would run `make -n uninstall' and set the variables
NORMAL_UNINSTALL, PRE_UNINSTALL, and POST_UNINSTALL to magic strings
so that you can determine command boundaries.  This would work for a
lot of packages, but not all of them, since most custom uninstall
targets (if they exist, an already doubtful proposition) probably
don't use these correctly.  See the GNU Coding Standards for more
info.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]