bug-automake
[Top][All Lists]
Advanced

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

Re: uninstall does not call its hook


From: Steve M. Robbins
Subject: Re: uninstall does not call its hook
Date: Sun, 30 Sep 2001 01:36:08 -0400
User-agent: Mutt/1.3.22i

Hi again,

Please discard my previous message.  I muddled it up.
(It turns out that "distcheck" lets you leave one file installed,
but will complain if you leave two or more).  Here is the correct
bug report.



I used the install-data-hook to install some extra stuff.  Then "make
distcheck" complains that there are "files left after uninstall".  So
I added an "uninstall-hook" to remove them, but the uninstall hook is
never executed.

Here's an example Makefile.am fragment.  A complete example is attached.
I discovered that I can use "uninstall-local" rather than the hook,
and it works.

-Steve


install-data-hook:
        touch $(DESTDIR)$(pkgdatadir)/bar1
        touch $(DESTDIR)$(pkgdatadir)/bar2

uninstall-hook:
        rm -f $(DESTDIR)$(pkgdatadir)/bar?


 

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants

Attachment: distcheck-0.1.0.tar.gz
Description: Binary data


reply via email to

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