[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Can I export a file into another target directory by setting one var
From: |
Arne Babenhauserheide (IMK) |
Subject: |
[O] Can I export a file into another target directory by setting one variable? |
Date: |
Fri, 25 Oct 2013 09:34:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130816 Thunderbird/17.0.8 |
Hi,
For my autotools setup, I need a way to export org-mode files into a
different directory (for make distcheck). Currently I do that by copying
all dependencies into the output directory, building the result and then
killing the dependencies again - which is a horrible clutch (but works).¹
Is there a way to simply set a variable in emacs which is then used as
the output-directory?
Then I could call emacs with
echo yes | @emacs@ --batch --load "~/.emacs" --visit "$(notdir $<)"
--eval "(setq variable $VPATH)" --funcall org-beamer-export-to-pdf
I tried this hint from 2012 (#+bind: ...),
http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg00272.html
but it does not seem to work anymore.
#+bind: org-export-publishing-directory "./exports"
¹: http://draketo.de/light/english/free-software/makefile-to-autotools#sec-4
Best wishes,
Arne
--
Doktorand
Gruppe: GHG
Raum: 435/410
Tel.: +49 721 608-22885
address@hidden
Karlsruher Institut für Technologie
IMK-ASF
Postfach 36 40
76021 Karlsruhe
0xA70DA09E.asc
Description: application/pgp-keys
arne_babenhauserheide.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
- [O] Can I export a file into another target directory by setting one variable?,
Arne Babenhauserheide (IMK) <=