From 1d617927bf8f83d633e61b064e7433d3a5b36f51 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 3 May 2021 20:10:39 +0200 Subject: Fix makefile --- vorlesungen/punktgruppen/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'vorlesungen/punktgruppen/Makefile') diff --git a/vorlesungen/punktgruppen/Makefile b/vorlesungen/punktgruppen/Makefile index c155b04..d685652 100644 --- a/vorlesungen/punktgruppen/Makefile +++ b/vorlesungen/punktgruppen/Makefile @@ -8,15 +8,11 @@ clean: @rm -rfv build # @rm -rfv media -slides.pdf: slides.tex +%.pdf: %.tex mkdir -p build - $(TEX) $(TEXARGS) slides.tex - cp build/slides.pdf . - -script.pdf: script.tex - mkdir -p build - $(TEX) $(TEXARGS) script.tex - cp build/script.pdf . + $(TEX) $(TEXARGS) $< + $(TEX) $(TEXARGS) $< + cp build/$@ . media: poetry install -- cgit v1.2.1