diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 18 |
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 |