summaryrefslogtreecommitdiffstats
path: root/org.mk
diff options
context:
space:
mode:
Diffstat (limited to 'org.mk')
-rw-r--r--org.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/org.mk b/org.mk
index 2d993f1..fb2f3d4 100644
--- a/org.mk
+++ b/org.mk
@@ -1,21 +1,14 @@
ORG_IN := $(shell find site/ -name "*.org")
ORG_OUT := $(ORG_IN:.org=.html)
-org-prebuild : .emacs
org-build : ${ORG_OUT}
soupault-build : org-build
ARTIFACTS += ${ORG_OUT} .emacs.d/cache
-CONFIGURE += .emacs
-
-.emacs : scripts/packages.el
- @scripts/pretty-echo.sh echo Initiating "Emacs configuration"
- @${EMACS}
- @touch .emacs
site/index.org : site/haskell.org site/miscellaneous.org site/meta.org site/coq.org
-%.html : %.org scripts/packages.el scripts/export-org.el .emacs org.mk
+%.html : %.org org.mk
@scripts/pretty-echo.sh Exporting "$*.org"
- @${EMACS} $< --load="$(shell pwd)/scripts/export-org.el"
+ @${EMACS} --eval "(cleopatra:export-org \"$<\")"