From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org Build System (aka Makefile) Date: Mon, 13 Aug 2012 21:27:49 +0200 Message-ID: <877gt2oami.fsf@Rainer.invalid> References: <87y5mkrca2.fsf@Rainer.invalid> <87ipcs3smd.fsf@Rainer.invalid> <871ujf5i7g.fsf@gnu.org> <874no8dxik.fsf@Rainer.invalid> <87k3x4rlb2.fsf@gmx.com> <87zk5zdery.fsf@Rainer.invalid> <87boifrkyl.fsf@gmx.com> <874no6zz0v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10JH-0004dd-2F for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 15:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T10JE-0006XA-6B for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 15:28:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:58548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10JD-0006Ww-VI for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 15:28:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T10JA-0002JT-Nv for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 21:28:12 +0200 Received: from pd9eb30df.dip.t-dialin.net ([217.235.48.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 21:28:12 +0200 Received: from Stromeko by pd9eb30df.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 21:28:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > However, I would suggest these changes to the current default.mk: These changes do not belong into default.mk — default.mk is the fallback for when no changes to local.mk have been made. > - Have a target `make single' (useful for developers) > > - `make elint' would run the current `make _COMPILE_=slint3'. I don't like such proliferation of toplevel targets since they can't be overridden by users, things like this (an alias) are easy enough to set up in local.mk: --8<---------------cut here---------------start------------->8--- single: _COMPILE_=single single: compile elint: _COMPILE_=slint3 elint: compile --8<---------------cut here---------------end--------------->8--- That was (and still is) the point of having local.mk — putting customized functionality on top of the standard make mechanism. > - `make test single' should run the tests *and* compile each file > in a separate Emacs process -- so that it gives as much info as > the developers may desire. > > - `make elint single' would run the current `make _COMPILE_=slint4' > (even though I would not complain if we get rid of this target.) Make doesn't work that way, you can't give it two targets and hope for it to combine these into something else. > - Let's get rid of the _COMPILE_ variable: it is not handy to have > to edit this just for running checks. I need to keep it for communication with the sub-make in lisp/, although I'll probably rename it to something shorter. There's a reason everything is set up the way it is and it actually becomes more complicated rather than easier if I do it differently. I'd rather provide a sample local.mk for developers that implements these suggestions. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada