123456789101112131415 |
- EMACS = /usr/local/Cellar/emacs-plus@28/28.1/bin/emacs --no-init --script ../ox.el
- PG = lua ../pg.lua
- ORG_SRCS = $(wildcard *.org)
- ORGS = $(patsubst %.org,%,$(ORG_SRCS))
- HTML_SRCS = $(wildcard *.html)
- HTMLS = $(patsubst %.html,%,$(HTML_SRCS))
- all: $(ORGS) $(HTMLS)
- %.html: %.org
- $(EMACS) $<
- %: %.html
- $(PG) $< > ../www/$@.html
|