diff options
author | Thomas Letan <lthms@soap.coffee> | 2020-02-26 19:16:22 +0100 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2020-02-26 19:16:22 +0100 |
commit | 5945bc80300f5504403ffe533dc60bfc95762695 (patch) | |
tree | e0655d4ea120a6d3af9193d1cda241a6809f9a3d /site/cleopatra/Theme.org | |
parent | Allow 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/Theme.org')
-rw-r--r-- | site/cleopatra/Theme.org | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/site/cleopatra/Theme.org b/site/cleopatra/Theme.org index 0735765..98fc204 100644 --- a/site/cleopatra/Theme.org +++ b/site/cleopatra/Theme.org @@ -2,6 +2,19 @@ <h1>Theming and Templating</h1> #+END_EXPORT +#+BEGIN_SRC makefile :tangle theme.mk +SASS := site/style/main.sass +CSS := $(SASS:.sass=.css) + +theme-build : ${SASS} + @echo " compile ${CSS}" + @sassc --style=compressed --sass ${SASS} ${CSS} + +soupault-build : theme-build + +ARTIFACTS += ${CSS} ${SASS} +#+END_SRC + * Main HTML Template #+NAME: js_lazyloading @@ -212,14 +225,3 @@ body#vcard @import plugins #+END_SRC - -#+BEGIN_SRC makefile :tangle theme.mk -SASS := site/style/main.sass -CSS := $(SASS:.sass=.css) - -${CSS} : ${SASS} ${GENSASS} - @echo " compile $<" - @sassc --style=compressed --sass $< $@ - -CONTENTS += ${CSS} -#+END_SRC |