From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arne Babenhauserheide (IMK)" Subject: Can I export a file into another target directory by setting one variable? Date: Fri, 25 Oct 2013 09:34:42 +0200 Message-ID: <526A1F12.9010004@kit.edu> Reply-To: arne.babenhauserheide@kit.edu Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5IrATOWEaFNU8MnaDmFq7Jn435V3DGT2x" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZbuz-0001ML-T8 for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 03:34:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZbuv-0006Ec-Nf for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 03:34:49 -0400 Received: from mailout.scc.kit.edu ([129.13.185.202]:54823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZbuv-0006ER-DH for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 03:34:45 -0400 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 --5IrATOWEaFNU8MnaDmFq7Jn435V3DGT2x Content-Type: multipart/mixed; boundary="------------040706030509070400080600" This is a multi-part message in MIME format. --------------040706030509070400080600 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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).=B9= 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" =B9: http://draketo.de/light/english/free-software/makefile-to-autotools#= sec-4 Best wishes, Arne --=20 Doktorand Gruppe: GHG Raum: 435/410 Tel.: +49 721 608-22885 arne.babenhauserheide@kit.edu Karlsruher Institut f=FCr Technologie IMK-ASF Postfach 36 40 76021 Karlsruhe --------------040706030509070400080600 Content-Type: application/pgp-keys; name="0xA70DA09E.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0xA70DA09E.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2.0.20 (GNU/Linux) mQENBE6Oxd8BCAC6wH1jXdGBLm2ZSH9VT51GAC5hzQeI5X/lR7+hpiA42H36Ymg0 yk7lLGDS1o4qFdeZmRJbNV9E4HtmHEC/qXYq+qBeggPeUcuqBlsyVsSHeX0GFVXy T8Fey/GX3yGNh1gAmea4T39Jo9zV9L23UIy7OkMitTCn1aCroVogJyYrTWLmEnGs 9ETYhiJMiDCHkjaq/KNGzARqzBHuf0+BNp9v2d2I3lS4qqr21H/fiN8v+cJ3TPOF buBY3buq03+KL9TIbp86QcHA8U3HXeRjLqbW+uqKWkY0cclyGgO1RbYyyG/OXZf7 gZoHKem23tvwIkT3zGQcuKFAzQhWV9/VD5V7ABEBAAG0NUFybmUgQmFiZW5oYXVz ZXJoZWlkZSA8YXJuZS5iYWJlbmhhdXNlcmhlaWRlQGtpdC5lZHU+iQE+BBMBAgAo BQJOjsXfAhsjBQkJZgGABgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBcg/Nk pw2gnj/QB/95bxAVJT3ZJdIiwsffXCLmmauUuYa3bzFmsZzm9da6XTRAuwSRPMyb 0Okfcu69rf6JWyzQSprZ/F3+3+oGQ5gxVscJWq69EA4KpxJsWAoFIV6UjtMu06eG 8dJ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=3D=3D =3DuqYZ -----END PGP PUBLIC KEY BLOCK----- --------------040706030509070400080600 Content-Type: text/x-vcard; charset=utf-8; name="arne_babenhauserheide.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="arne_babenhauserheide.vcf" begin:vcard fn:Arne Babenhauserheide n:Babenhauserheide;Arne org:KIT;GHG, IMK-ASF adr;quoted-printable:;;Geb=3DC3=3DA4ude 435, Raum 410, Campus Nord;Karlsr= uhe;BW;76021;Deutschland email;internet:arne.babenhauserheide@kit.edu title:Doktorand tel;work:+49 721 608-22885 x-mozilla-html:FALSE url:http://www.imk-asf.kit.edu/874_1194.php version:2.1 end:vcard --------------040706030509070400080600-- --5IrATOWEaFNU8MnaDmFq7Jn435V3DGT2x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSah8SAAoJEFyD82SnDaCe6GYH/jEQx3je3yeZ6Fml6XzRFTnV fuzF4xDfvBsWV66g/MDWOeqo3hKvptRs8Ai6cDFygO2j/CHnD/LUtHi9mnErynd0 +i9ahQ2mOqh+kJv5kx9K7+0LVYHzPDR27hLmsVkKvd2Kb1JW57x0QjYDG95lP81l FkHxRgVonWyfA0puX+pFfg71rEl8paccFxG5gHjaGUDmsfjHL9s/jlOM+ELom1qO r+896dK6Xl4XOkpP/vfkFBVHL1SdCzARmd0oAbO/cNCcmij7LRKmyjktL2+7b4JK yUnHYhKcfpEk0H4nn1iOpOkituhBoZwIyOguQ802jw/wOrNk3XIJKjuL0a5qRD8= =+kUN -----END PGP SIGNATURE----- --5IrATOWEaFNU8MnaDmFq7Jn435V3DGT2x--