From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Makefile restructuring Date: Sat, 21 Apr 2012 16:34:18 +0200 Message-ID: <874nsdduhh.fsf@Rainer.invalid> References: <87k4bqwkyw.fsf@gnu.org> <87sjqejvob.fsf@Rainer.invalid> <87k4bqjnwu.fsf@Rainer.invalid> <87fwmdkind.fsf@Rainer.invalid> <874o2t81qu.fsf@gnu.org> <87liw43iys.fsf@Rainer.invalid> <8762n8d4ys.fsf@gnu.org> <87ei1u6u3q.fsf_-_@Rainer.invalid> <87hb6i3z1l.fsf@Rainer.invalid> <87k47av6j2.fsf@Rainer.invalid> <87fwhyux4d.fsf@Rainer.invalid> <87397x1i8u.fsf@altern.org> <87bomldxn4.fsf@Rainer.invalid> 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]:40538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLbOd-0006rG-En for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 10:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLbOX-00035Q-RP for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 10:34:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:47532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLbOX-0002zu-KR for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 10:34:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SLbOV-0003CG-EL for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 16:34:35 +0200 Received: from pd9eb5daf.dip.t-dialin.net ([217.235.93.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 16:34:35 +0200 Received: from Stromeko by pd9eb5daf.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 16:34:35 +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 Samuel Wales writes: > make compile info > > Will that make org-install and also info? If you don't install org (i.e. run it directly out of the Git worktree), that would be: make compile autoloads info > If so, what happens when makefiles change again and I will start > missing something because I don't have it on the make line? Plain > make worked before and would make anything new that people would add > to the makefile. Plain "make" now really makes everything except install as it is supposed to do (that is equivalent to "make all"). It didn't do the full documentation before. > Is there a way to just get it to work the way it did before? That would be an uphill battle. You can define your own target for what you want to do in local.mk, say "org" and then do "make org". BTW, you don't need cleanall anymore before compiling (it is now implicit); if you really want to compile without cleaning first, do a compile-dirty. >> Any adaptations to your local environment should be made in local.mk — >> that way it is ensured that changes in the defaults do not overwrite >> your local configuration. > > I have no idea of how to do this whatsoever. You just create a file local.mk, copy in the definitions from default.mk that you need to change (and only those) and then change them to suit your environment. Look up the examples posted earlier in this thread: http://article.gmane.org/gmane.emacs.orgmode/44567 You'd additionally want ---8<------------->8--- .PHONY: org org: compile autoloads info ---8<------------->8--- at the top of your local.mk (that needs to be a TAB after the colon) if you want to be able to say "make org" and have it do "make compile autoloads info". Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds