From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Software/HD ecology Date: 26 Dec 2002 10:20:00 -0800 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <041220020952400758%ajanta@no.spam> <56cfb0e3.0212041458.5eab182a@posting.google.com> <061220020416350201%ajanta@no.spam> <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu> <111220021253524057%ajanta@no.spam> <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam> <121220021324043990%ajanta@no.spam> <171220021132381961%ajanta@no.spam> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040927170 20890 80.91.224.249 (26 Dec 2002 18:26:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2002 18:26:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Rchs-0005QW-00 for ; Thu, 26 Dec 2002 19:26:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18RchM-0008Mq-03 for gnu-help-gnu-emacs@m.gmane.org; Thu, 26 Dec 2002 13:25:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 41 Original-Xref: shelby.stanford.edu gnu.emacs.help:108496 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5025 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5025 >>>>> Luis Fernandes writes: >>>>> "dmaster" == David Masterson writes: >>>>> Lee Sau Dan writes: >>>>> "David" == David Masterson writes: David> GNU tools generally are not distributed with any package David> manager in mind. They have "make install" and some have David> "make uninstall" as the replacement for a package manager. David> MS-Windows actually has this issue well handled. >>> Most GNU softwares nowadays have "./configure >>> --prefix=/anywhere/you/like/foobar" so that the "make install" >>> will only put files there. Uninstalling is simply "rm -rf >>> /anywhere/you/like/foobar". dmaster> This does not work if "/anywhere/you/like/foobar" (for dmaster> all "foobar") is "/usr/local" as is most often the case. > Exactly! I NEVER use the default configure for Emacs because it puts > things "all over the place". I know that you can do this and that's where tools like Stow and Pkglink come in. However, most people find a simple "configure; make; make install" is good enough for them *UNTIL* they get to the point of wanting to uninstall (think ahead? who me?). Having "make install" install an "uninstaller" would take care of this and it's really not that difficult to implement: install: $(TARGETS) for x in $(TARGETS); do \ echo $(RM) $(TARGET_DIR)/$$x > uninstaller; \ install $$x $(TARGET_DIR); \ done install uninstaller $(TARGET_DIR) Give "uninstaller" some sort of unique name to taste... -- David Masterson David DOT Masterson AT synopsys DOT com Sr. R&D Engineer Synopsys, Inc. Software Engineering Sunnyvale, CA