Skip to content

Commit 12444b7

Browse files
committed
Adiciona Makefile para exportar org => html. Closes #18.
1 parent e13291a commit 12444b7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ORG_FILES := $(wildcard *.org)
2+
HTML_FILES := $(patsubst %.org, %.html, $(ORG_FILES))
3+
4+
.PHONY: clean
5+
6+
all: $(HTML_FILES)
7+
8+
%.html: %.org
9+
emacs $< --batch -f org-html-export-to-html --kill
10+
11+
clean:
12+
rm -rf *.html

0 commit comments

Comments
 (0)