summaryrefslogtreecommitdiff
path: root/Makefile
blob: bd691c3444cc5f3925fed5f6d84a4405d29b8cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: talk.pdf

SOURCES=\
	talk.org \
	$(wildcard _build/*.png) \
	$(wildcard img/*.jpg) \
	$(wildcard img/*.png) \
	$(NULL)

OUT=talk.pdf

$(OUT): $(SOURCES)
	#  org-src-preserve-indentation prevents spaces converted to tabs in babel)
	emacs -batch $< --eval='(setq org-src-preserve-indentation t)' \
	                --eval='(org-beamer-export-to-pdf)'

clean:
	rm -f *.tex $(OUT) _build

mode:
	wlr-randr --output HDMI-A-1 --mode 1280x720@50
	wlr-randr --output HDMI-A-1 --mode 1280x720@50 --pos 0,0
	wlr-randr --output eDP-1  --pos 0,721

record:
	wf-recorder -a 'Logitech H360 Headset' -o HDMI-A-1

run:
	pdfpc talk.pdf