From: Martin Atukunda Date: Sun, 18 Sep 2005 10:03:00 GMT Subject: Re: Add uninstall target to Makefile Message-ID: <20050918100300.GA9890@igloo.ds.co.ug> In-Reply-To: <20050916180810.GK8041@shell0.pdx.osdl.net> On Fri, Sep 16, 2005 at 11:08:10AM -0700, Chris Wright wrote: > * John W. Linville (linville@tuxdriver.com) wrote: > > > Sorry, I absolutely detest other peoples' Makefiles that has > > > this target. Why would anybody want this? > > > > Is this a serious question? To uninstall the binaries e.g. if you > > installed them in the wrong place? > > Of course package manager will do better at this, but it is useful to be > able to uninstall. However, I don't think Martin's external script with > all the filenames hardcoded is the right approach. There are $(PROG) > and $(SCRIPTS) which already know all these filenames. The external script only removes the symlinks created by ./cmd-rename.sh - Martin -