From owner-freebsd-hackers@freebsd.org Sun Apr 2 00:29:44 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61147D2ACB6 for ; Sun, 2 Apr 2017 00:29:44 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12713238 for ; Sun, 2 Apr 2017 00:29:43 +0000 (UTC) (envelope-from kaduk@mit.edu) X-AuditID: 1209190f-d43ff70000007382-c4-58e044bdeea8 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id FE.26.29570.DB440E85; Sat, 1 Apr 2017 20:24:29 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id v320OSrb028385; Sat, 1 Apr 2017 20:24:29 -0400 Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v320OOSM005165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 1 Apr 2017 20:24:27 -0400 Date: Sat, 1 Apr 2017 19:24:24 -0500 From: Benjamin Kaduk To: Yao Bao Cc: freebsd-hackers@freebsd.org Subject: Re: make uninstall /usr/src/share/doc/ Message-ID: <20170402002423.GB30306@kduck.kaduk.org> References: <201704010056.v310u4iB078722@meetlost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201704010056.v310u4iB078722@meetlost.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsUixG6norvX5UGEwYOd1hbfZhxjsti++R+j A5PHjE/zWTy2LFnEGsAUxWWTkpqTWZZapG+XwJWx/PdStoLpbBUnHyxhbGD8wNLFyMkhIWAi MX3hRzYQW0igjUlix33dLkYuIHsDo8SiHV/YIZwrTBLNU9YxgVSxCKhI3N3cwQhiswHZDd2X mUFsEQFZiRtvtoNNZRaQl3i4/QyYLSygL7H57QawGl6gbX0HDrJDbDOT+Hz0KVRcUOLkzCdQ vVoSN/69BNrFAWRLSyz/xwES5hQwl1h7uQesVVRAWaJhxgPmCYwCs5B0z0LSPQuhewEj8ypG 2ZTcKt3cxMyc4tRk3eLkxLy81CJdE73czBK91JTSTYygIOWU5N/BOKfB+xCjAAejEg/vh6f3 I4RYE8uKK3MPMUpyMCmJ8n4vvhchxJeUn1KZkVicEV9UmpNafIhRgoNZSYS39glQOW9KYmVV alE+TEqag0VJnFdcozFCSCA9sSQ1OzW1ILUIJivDwaEkwRvl/CBCSLAoNT21Ii0zpwQhzcTB CTKcB2j4ApAa3uKCxNzizHSI/ClGXY4bxw+8YRJiycvPS5US5zUHKRIAKcoozYObA0ouEtn7 a14xigO9JczbClLFA0xMcJNeAS1hAlpi8fUuyJKSRISUVANjlhGLbMki5ckVoXOmT2BmP5fQ cTtv9tbqj0Y9ptE7UpW/3NmcqDOZoXuCVUrIXNaSTQsTZk/cImC5gPHmrU3POl818k/87L1n eaZoi03k+arf/7gbDx2Y9G/zVAcGOxO39poY18iZaff/fjvzbuupq89tt1/Suyrb7jdncqzj CaaHqaedrkrmKLEUZyQaajEXFScCAIbL1NEJAwAA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2017 00:29:44 -0000 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