diff options
author | Guido Günther <agx@sigxcpu.org> | 2023-07-24 12:15:50 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2023-08-07 11:54:47 +0200 |
commit | 080f51d9eeeffbd22dac2bd401e2973b9badea6b (patch) | |
tree | 1279b707cfe3aac5dc7d42ce19f6734aac84021a /Makefile |
Initial commitmain
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bd691c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |