SUBDIRS = \ img $(SUBDIRS): $(MAKE) -C $@ pandoc-papers.pdf: pandoc-papers.md pandoc \ -V aspectratio=169 \ -V institute=iDiv \ -V theme=Frankfurt \ -V navigation=horizontal \ -V logo=img/idiv-black-logo.png \ --pdf-engine=xelatex \ -s \ -t beamer \ -o pandoc-papers.pdf \ pandoc-papers.md rdm.pdf: img rdm.md rdm.yml pandoc \ --standalone \ --from=markdown+yaml_metadata_block \ --pdf-engine=xelatex \ --template=pandoc-cheat-sheet/cheat-sheet.tex \ -o rdm.pdf \ rdm.yml rdm.md all: subdirs clean: for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir $@; \ done rm -f rdm.pdf default: all subdirs: $(SUBDIRS) .PHONY: \ $(SUBDIRS) \ all \ clean \ default \ subdirs