From 2f35d7ba0b1998695a5ea542c4918218d479dab5 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 26 May 2022 11:52:12 +0200 Subject: Setup. Add a driver make script --- test/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/Makefile diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..801db3b --- /dev/null +++ b/test/Makefile @@ -0,0 +1,18 @@ +PACKAGE := fripost +TEX := $(basename $(wildcard *.tex)) + +PDF = $(addsuffix .pdf, $(TEX)) + +all: $(PDF) + +$(PDF): %.pdf: %.tex $(PACKAGE).sty + pdflatex $< + +$(PACKAGE).sty: %.sty: ../tex/%.sty + ln -s $< + +clean: + rm -f *~ *.aux *.log *.out *.pdf + rm -f *.sty + +.PHONY: all -- cgit v1.2.3