mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
24 lines
773 B
Makefile
24 lines
773 B
Makefile
ORG_PATH = /usr/share/emacs/site-lisp/org-mode
|
|
INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path) \
|
|
make-backup-files nil \
|
|
org-export-author-info nil \
|
|
org-export-creator-info nil \
|
|
org-export-html-validation-link nil \
|
|
org-babel-tangle-pad-newline nil \
|
|
org-src-preserve-indentation t) \
|
|
(require 'org-install)
|
|
|
|
ORG = benchmark.org
|
|
|
|
html:
|
|
for f in ${ORG}; do \
|
|
emacs -Q --batch --eval \
|
|
"(progn ${INIT} (find-file \"$$f\") \
|
|
(org-export-as-html-batch) (kill-buffer))"; \
|
|
done
|
|
|
|
pdf:
|
|
for f in ${ORG}; do \
|
|
emacs -Q --batch --eval \
|
|
"(progn ${INIT} (find-file \"$@.org\") \
|
|
(org-export-as-pdf org-export-headline-levels) (kill-buffer))"
|