From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Location of OpenDocument style files should be configurable Date: Fri, 24 Feb 2012 16:31:06 +0530 Message-ID: <81linsts0d.fsf@gmail.com> References: <20220.19946.360761.625682@a1i15.kph.uni-mainz.de> <81k45du97t.fsf@gmail.com> <20222.21041.522506.741641@a1i15.kph.uni-mainz.de> <20224.42871.411055.861546@a1i15.kph.uni-mainz.de> <20224.50573.418581.674268@a1i15.kph.uni-mainz.de> <81sjjykxet.fsf@gmail.com> <20226.52383.241764.850928@a1i15.kph.uni-mainz.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0stu-0006E1-2w for emacs-orgmode@gnu.org; Fri, 24 Feb 2012 06:01:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0sto-0000vf-Pj for emacs-orgmode@gnu.org; Fri, 24 Feb 2012 06:01:20 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:64896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0sto-0000vW-Ie for emacs-orgmode@gnu.org; Fri, 24 Feb 2012 06:01:16 -0500 Received: by dadv6 with SMTP id v6so2486567dad.0 for ; Fri, 24 Feb 2012 03:01:15 -0800 (PST) In-Reply-To: <20226.52383.241764.850928@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Tue, 3 Jan 2012 10:38:39 +0100") 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: Ulrich Mueller Cc: emacs-orgmode@gnu.org Ulrich >> ps: Makefiles are beyond my jurisdiction. I will let Bastien act on >> your patch(es). > > Looks like my earlier patch hasn't been applied for 7.8.03. :( I have applied the patch below. This should be available in the next release.. > Cheers, > Ulrich > > > From 274fc9a41d7e573bc67a85ffad046ca163dc6452 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Ulrich=20M=C3=BCller?= > Date: Mon, 2 Jan 2012 22:00:38 +0100 > Subject: [PATCH] Support DESTDIR in Makefile. > > --- > Makefile | 19 +++++++++++-------- > 1 files changed, 11 insertions(+), 8 deletions(-) > > diff --git a/Makefile b/Makefile > index 642b21f..b6ad567 100644 > --- a/Makefile > +++ b/Makefile > @@ -253,18 +253,21 @@ g: > lisp/org-odt.elc: BATCH_EXTRA = -eval "(setq org-odt-data-dir > (expand-file-name \"$(datadir)\"))" > > install-lisp: $(LISPFILES) $(ELCFILES) > - if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ; > - $(CP) $(LISPFILES) $(lispdir) > - $(CP) $(ELCFILES) $(lispdir) > + if [ ! -d $(DESTDIR)$(lispdir) ]; then \ > + $(MKDIR) $(DESTDIR)$(lispdir); else true; fi ; > + $(CP) $(LISPFILES) $(DESTDIR)$(lispdir) > + $(CP) $(ELCFILES) $(DESTDIR)$(lispdir) > > install-info: $(INFOFILES) > - if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ; > - $(CP) $(INFOFILES) $(infodir) > - $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES) > + if [ ! -d $(DESTDIR)$(infodir) ]; then \ > + $(MKDIR) $(DESTDIR)$(infodir); else true; fi ; > + $(CP) $(INFOFILES) $(DESTDIR)$(infodir) > + $(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) $(INFOFILES) > > install-data: $(DATAFILES) > - if [ ! -d $(datadir) ]; then $(MKDIR) $(datadir); else true; fi ; > - $(CP) $(DATAFILES) $(datadir) > + if [ ! -d $(DESTDIR)$(datadir) ]; then \ > + $(MKDIR) $(DESTDIR)$(datadir); else true; fi ; > + $(CP) $(DATAFILES) $(DESTDIR)$(datadir) > > autoloads: lisp/org-install.el