summaryrefslogtreecommitdiffstats
path: root/site/cleopatra/Contents/Org.org
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-26 19:16:22 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-26 19:16:22 +0100
commit5945bc80300f5504403ffe533dc60bfc95762695 (patch)
treee0655d4ea120a6d3af9193d1cda241a6809f9a3d /site/cleopatra/Contents/Org.org
parentAllow cleopatra to create missing directories (diff)
Introduce a notion of dependency between generation processes
The chain of generation processes is now divided into three well-identified stages. The order of definition of generation processes is no longer important.
Diffstat (limited to 'site/cleopatra/Contents/Org.org')
-rw-r--r--site/cleopatra/Contents/Org.org14
1 files changed, 10 insertions, 4 deletions
diff --git a/site/cleopatra/Contents/Org.org b/site/cleopatra/Contents/Org.org
index 23bfdf9..385d2d3 100644
--- a/site/cleopatra/Contents/Org.org
+++ b/site/cleopatra/Contents/Org.org
@@ -58,11 +58,20 @@
#+BEGIN_SRC makefile :tangle org.mk
ORG_POSTS := $(shell find site/ -name "*.org")
+ORG_HTML := $(ORG_POSTS:.org=.html)
+
+org-prebuild : .emacs
+org-build : ${ORG_HTML}
+
+theme-prebuild : site/style/org.sass
+soupault-build : org-build
+
+ARTIFACTS += ${ORG_HTML} "*.html~"
+CONFIGURE += .emacs emacs.d/
EXPORT := --directory="${ROOT}/scripts/" --batch \
--load="${ROOT}/scripts/export-org.el" \
2>> build.log
-
INIT := --batch --load="${ROOT}/scripts/packages.el" \
2>> build.log
@@ -75,9 +84,6 @@ INIT := --batch --load="${ROOT}/scripts/packages.el" \
.emacs org.mk
@echo " export $*.org"
@${EMACS} $< ${EXPORT}
-
-CONTENTS += $(ORG_POSTS:.org=.html)
-GENAUX += .emacs emacs.d/
#+END_SRC
#+BEGIN_SRC sass :tangle site/style/org.sass