From 857d0c451469df1c1936029a43ff8bdb6ff2ee43 Mon Sep 17 00:00:00 2001 From: Louis Burke Date: Mon, 1 May 2023 12:44:53 -0400 Subject: [PATCH] Fixed Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7eeb13a..d32fe69 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ VERSION=$(LAST_TAG:v%=%)$(PATCH)$(DIRTY) default: all # List of documents to produce from markdown -DOCUMENTS=$(wildcard docs/%.mmd) +DOCUMENTS=$(wildcard docs/*.mmd) HTML_DOCS=$(patsubst docs/%.mmd,build/%.html,$(DOCUMENTS)) PDF_DOCS=$(patsubst docs/%.mmd,build/%.pdf,$(DOCUMENTS)) @@ -27,7 +27,7 @@ build/%.pdf: docs/%.mmd sed 's/%VERSION%/$(VERSION)/g' $^ | multimarkdown -tlatex > build/$*.tex pdflatex -output-directory=build -interaction=batchmode build/$*.tex pdflatex -output-directory=build -interaction=batchmode build/$*.tex - -rm $*.aux $*.toc $*.log build/$*.tex $*.out + -rm build/$*.aux build/$*.toc build/$*.log build/$*.tex build/$*.out clean: -rm $(HTML_DOCS) $(PDF_DOCS)