Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2017 19:24:24 -0500
From:      Benjamin Kaduk <kaduk@mit.edu>
To:        Yao Bao <by@meetlost.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: make uninstall /usr/src/share/doc/
Message-ID:  <20170402002423.GB30306@kduck.kaduk.org>
In-Reply-To: <201704010056.v310u4iB078722@meetlost.com>
References:  <201704010056.v310u4iB078722@meetlost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 01, 2017 at 12:56:04AM +0000, Yao Bao wrote:
> Hi,
> 
> I installed the docs under /usr/src/share/doc/ with commands below:
> make
> make install
> make clean 
> 
> And I am thinking about is there anyway to unsintall the docs I just installed?
> I tried make uninstall but no luck.
> 
> Can anyone provide some tips on this?

There is no 'uninstall' target for the bsd.prog.mk, bsd.doc.mk, etc.
makefile includes that are used by src/share/doc/.  One thing that
could be done is 'touch stampfile; make install; find /usr/share
-newer stampfile' to get a list of files that are probably the
installed ones.  Sometimes 'make -n install' is also useful for
generating a list of what files would have been installed, but only
if submakes are not in use.

-Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170402002423.GB30306>