emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Paths including spaces fail the installation: Patch


From: Achim Gratz
Subject: Re: [O] Paths including spaces fail the installation: Patch
Date: Thu, 14 Mar 2013 07:49:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

[please reply to the list]

> BS-Quoting and Doublequote-ing were the first things I tried:
[…]

Yes I see, that is due to inadvertent double quoting.  Try this
definition in local.mk (not the extra two single quotes around
$(datadir)):

--8<---------------cut here---------------start------------->8---
# How to generate org-version.el
MAKE_ORG_VERSION = $(BATCHL) \
          --eval '(load "org-compat.el")' \
          --eval '(load "../mk/org-fixup.el")' \
          --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" 
"'$(datadir)'")'
--8<---------------cut here---------------end--------------->8---

Please test, I'll push the fix if it solves your problem.

> But quite apart from that, I seems like the right thing to me to make
> sure that things that should be one string get interpreted as one
> string on the logic level, which even fixing the escaping behaviour
> would not do in the makefiles themselves.

The build system assumes that these definitions will always be
interpreted by the shell (the above fix makes sure it actually does), so
you need to shell-quote in the definitions already.  The Makefile itself
never cares what those strings are, embedded spaces or not.


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]