refactor makefile

This commit is contained in:
Malin Freeborn 2025-02-14 16:23:28 +01:00
parent b191a9e5d4
commit 599ccd2881
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -11,9 +11,9 @@ pdfs = $(patsubst %.md, %.pdf, $(markdown))
$(pdfs): %.pdf: %.md
pandoc -t beamer -V theme:Warsaw -i $< -o $@
.PHONY: show
show: $(pdfs) ## Generate all pdfs (try `make -j 4 pdfs`)
.PHONY: pdfs
pdfs: $(pdfs) ## Generate all pdfs (try `make -j pdfs`)
.PHONY: clean
clean: ## Delete all pdfs
find . -name "*.pdf" -exec rm '{}' ';'
$(RM) $(pdfs)