aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2022-05-26 11:52:12 +0200
committerGustav Eek <gustav.eek@fripost.org>2023-05-30 11:47:11 +0200
commit2f35d7ba0b1998695a5ea542c4918218d479dab5 (patch)
treeb31472b1bb93ea454fc93d748427945b72b5d960 /test
parent40332355f04f49c293999f2422c574465f18810b (diff)
Setup. Add a driver make script
Diffstat (limited to 'test')
-rw-r--r--test/Makefile18
1 files changed, 18 insertions, 0 deletions
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