diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-25 20:48:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-25 20:48:58 +0000 |
commit | 434c8d95fdef4e34e2211d798b0faef0a962fdea (patch) | |
tree | eb21c50790181a609a23080942499758478e1665 /Master/texmf-dist/source | |
parent | 1ef16d82e52f4296be46ce5bf5a74e213257b7e3 (diff) |
biblatex-software (25apr20)
git-svn-id: svn://tug.org/texlive/trunk@54875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/biblatex-software/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/biblatex-software/Makefile b/Master/texmf-dist/source/latex/biblatex-software/Makefile new file mode 100644 index 00000000000..9db14d0e6df --- /dev/null +++ b/Master/texmf-dist/source/latex/biblatex-software/Makefile @@ -0,0 +1,46 @@ +TEXS = $(wildcard *.tex) +MAIN = sample-use-sty + +all: $(MAIN).pdf + +biblatex-styles: stublist mkbiblatexstubs.sh + bash mkbiblatexstubs.sh < stublist + +swentries.tex: ../swentry.org + ../bin/export-org-to-latex $< + ../bin/extract-entries.pl < ../swentry.tex > $@ + +software-biblatex.pdf: software-biblatex.tex swentries.tex history.tex + pdflatex software-biblatex.tex + bibtex software-biblatex + pdflatex software-biblatex.tex + pdflatex software-biblatex.tex + +history.tex: + git for-each-ref --format="\begin{release}{%(refname:short)}{%(taggerdate:short)} \item %(subject) \end{release}" refs/tags | grep bltx | tac > history.tex + +sample.tex : biblatex-styles + +%.pdf: %.tex +ifeq (, $(shell PATH=$(PATH) which rubber)) + echo "No rubber in $(PATH), falling back to basic pdflatex calls" + pdflatex $< + biber $* + pdflatex $< +else + rubber -m pdftex $< +endif + +distrib: + # update history + rm history.tex + make software-biblatex.pdf + tar --transform 's,^\(.\),biblatex-software/\1,' -czhvf biblatex-software.tar.gz `git ls-files` + +clean: $(patsubst %,%/clean,$(TEXS)) + rm -f *+sw.bbx *+sw.dbx *+sw.cbx *+sw.lbx *~ + +%/clean: + if [ -f $* ]; then rubber -m pdftex --clean $* ; fi + +distclean: clean |