From owner-freebsd-ports@FreeBSD.ORG Tue Feb 1 00:12:23 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D2B916A4CE for ; Tue, 1 Feb 2005 00:12:23 +0000 (GMT) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71BB343D55 for ; Tue, 1 Feb 2005 00:12:22 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.135] (port=58385 helo=smtp4.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1CvleX-0004xI-91 for freebsd-ports@freebsd.org; Tue, 01 Feb 2005 01:12:21 +0100 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:55611 helo=workstation.homenet) by smtp4.home.nl with esmtp (Exim 4.30) id 1CvleW-0008Ux-EZ for freebsd-ports@freebsd.org; Tue, 01 Feb 2005 01:12:20 +0100 From: Danny Pansters To: freebsd-ports@freebsd.org Date: Tue, 1 Feb 2005 01:12:09 +0100 User-Agent: KMail/1.7.2 References: <200501311804.01330.lane@joeandlane.com> In-Reply-To: <200501311804.01330.lane@joeandlane.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502010112.09887.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: deinstall problem (reprise) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: danny@ricin.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 00:12:23 -0000 On Tuesday 1 February 2005 01:04, Lane wrote: > Hey! > > I just noticed that the mythtv port I'm working on uses 'make uninstall' > instead of 'make deinstall' in several of the generated Makefiles. > > How can I instruct the port Makefile to call 'make uninstall' for an > indeterminate number of Makefiles? > > See ... the original program uses 'qmake' to generate the Makefile(s) then > it uses GNU_CONFIGURE to compile everything. So I don't know how many > Makefile(s) will exist because various parameters will change that. The uninstall target probably belongs to the original program. So why not call it in your Makefile upon deinstall (and check if everything else gets removed properly also)? Or have a deinstall script that does everything if it gets a bit too messy to stuff everything in the Makefile. > Sheesh! This is more complex than I thought it would be :) Yes, it always is :) HTH, Dan