We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 823b039 + 3139e1e commit 02fc3ffCopy full SHA for 02fc3ff
Makefile
@@ -0,0 +1,15 @@
1
+EMACS_INIT := ~/.emacs.d/init.el
2
+EMACS_LOAD := -l $(EMACS_INIT)
3
+EMACS_FLAGS := --batch --kill $(EMACS_LOAD)
4
+ORG_FILES := $(wildcard *.org)
5
+HTML_FILES := $(patsubst %.org, %.html, $(ORG_FILES))
6
+
7
+.PHONY: clean
8
9
+all: $(HTML_FILES)
10
11
+%.html: %.org
12
+ emacs $< $(EMACS_FLAGS) -f org-html-export-to-html
13
14
+clean:
15
+ rm -rf *.html
0 commit comments