diff options
Diffstat (limited to 'macros/latex/contrib/stex/source/stex/Makefile')
-rw-r--r-- | macros/latex/contrib/stex/source/stex/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/stex/source/stex/Makefile b/macros/latex/contrib/stex/source/stex/Makefile new file mode 100644 index 0000000000..2b9a63750b --- /dev/null +++ b/macros/latex/contrib/stex/source/stex/Makefile @@ -0,0 +1,23 @@ +DTX = $(shell ls *.dtx) +DOC = $(DTX:%.dtx=%.pdf) +INS = stex.ins + +PDFLATEX = pdflatex -interaction=batchmode +TEXDIR = ../../tex +TEXINPUTS = $(TEXDIR)//: + +all: package doc + +doc: $(DOC) + +package: $(DTX) $(INS) + $(PDFLATEX) $(INS) + mv *.sty *.cls $(TEXDIR) + +$(DOC): %.pdf: %.dtx + $(PDFLATEX) $< + biber -q $(basename $<) + $(PDFLATEX) $< + +echo: + @echo $(TEXINPUTS) |