diff options
author | Thomas Letan <lthms@soap.coffee> | 2022-08-13 18:45:19 +0200 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2022-08-13 18:45:19 +0200 |
commit | 43defc95b9c0448e7e6996f6a61f549c4e3e2a24 (patch) | |
tree | 42f1dabad62f1b83583682fe1399b5a326433638 /org.mk | |
parent | Typo ): (diff) |
Use emacs --daemon to speed things up
Diffstat (limited to 'org.mk')
-rw-r--r-- | org.mk | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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 \"$<\")" |