emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: emacs-orgmode@gnu.org
Cc: Jambunathan K <kjambunathan@gmail.com>
Subject: Re: Location of OpenDocument style files should be configurable
Date: Sun, 1 Jan 2012 21:43:57 +0100	[thread overview]
Message-ID: <20224.50573.418581.674268@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20224.42871.411055.861546@a1i15.kph.uni-mainz.de>

> So, could the build system please be changed, such that the datadir
> value at _compile_ time is taken, not at _install_ time?

I.e., something like the patch included below.

BTW, maybe one could think about supporting DESTDIR? That should be
trivial to implement, simply prepend $(DESTDIR) to all destination
paths in the install-* make targets. I can prepare a patch if this is
wanted.
<http://www.gnu.org/prep/standards/html_node/DESTDIR.html>

Cheers,
Ulrich


From f6eb5150418bfd5de35b8f4f9ca39f4cbff1d40b Mon Sep 17 00:00:00 2001
From: Ulrich Mueller <ulm@gentoo.org>
Date: Sun, 1 Jan 2012 21:39:21 +0100
Subject: [PATCH] Don't re-compile org-odt.el at install time.

---
 Makefile |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 520b0fd..642b21f 100644
--- a/Makefile
+++ b/Makefile
@@ -247,14 +247,10 @@ p:
 g:
 	${MAKE} pdf && open doc/orgguide.pdf
 
-# Always force re-compilation of org-odt
-lisp/org-odt.elc: org-odt-data-dir
-org-odt-data-dir:
-
 # Sleight of hand to "hard code" the value of $(datadir) in
 # org-odt.el.  See variables `org-odt-styles-dir-list' and
 # `org-odt-schema-dir-list'.
-install-lisp: BATCH_EXTRA = -eval "(setq org-odt-data-dir (expand-file-name \"$(datadir)\"))"
+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 ;
-- 
1.7.8.1

  reply	other threads:[~2012-01-01 20:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 11:24 Location of OpenDocument style files should be configurable Ulrich Mueller
2011-12-29 16:06 ` Jambunathan K
2011-12-29 16:56   ` Ulrich Mueller
2011-12-30  9:07   ` Achim Gratz
2011-12-29 16:56 ` Achim Gratz
2011-12-29 18:32   ` Ulrich Mueller
2011-12-30 19:53 ` Jambunathan K
2011-12-31  0:07   ` Ulrich Mueller
2012-01-01 18:35     ` Ulrich Mueller
2012-01-01 20:43       ` Ulrich Mueller [this message]
2012-01-02 14:10         ` Jambunathan K
2012-01-03  9:38           ` Ulrich Mueller
2012-01-03 10:20             ` Bastien
2012-01-03 14:59               ` Ulrich Mueller
2012-01-03 10:26             ` Bastien
2012-01-03 13:59               ` Ulrich Mueller
2012-02-24 11:01             ` Jambunathan K
2012-02-24 11:20               ` Jambunathan K
2012-01-02 22:11   ` Achim Gratz
2012-01-03 10:10     ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20224.50573.418581.674268@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).