diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-19 22:41:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-19 22:41:35 +0000 |
commit | 8bc177aa284756939eeec5497c1799fbfae775ae (patch) | |
tree | 96ceb4277b4a1bd972fb505b7773656d9134c182 /Master/texmf-dist/doc/latex/reledmac/makefile | |
parent | 2f872d852a052b88a4c3c7e3442b63c3185d3770 (diff) |
reledmac (19nov15)
git-svn-id: svn://tug.org/texlive/trunk@38896 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/reledmac/makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/reledmac/makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/reledmac/makefile b/Master/texmf-dist/doc/latex/reledmac/makefile new file mode 100644 index 00000000000..892e8e51154 --- /dev/null +++ b/Master/texmf-dist/doc/latex/reledmac/makefile @@ -0,0 +1,61 @@ +PACKAGE = *.dtx \ + *.ins \ + reledmac.pdf \ + reledpar.pdf \ + migration.pdf \ + README \ + makefile \ + latexmkrc \ + + + +.PHONY: all dist clean + + +all: reledmac.sty reledmac.pdf reledpar.sty reledpar.pdf migration.pdf dist + +doc: *.pdf + +migration.pdf: migration.dtx + xelatex $< + xelatex $< + xelatex $< + +README: README.md + pandoc README.md -o README + +%.sty: %.ins %.dtx + rm -f $*.sty $*tex + @pdflatex $*.ins + +%.pdf: %.sty %.dtx + @xelatex $*.dtx + @makeindex -s gind.ist -o $*.ind $*.idx + @makeindex -s gglo.ist -o $*.gls $*.glo + @xelatex $*.dtx + @makeindex -s gind.ist -o $*.ind $*.idx + @makeindex -s gglo.ist -o $*.gls $*.glo + @xelatex $*.dtx + + +dist: $(PACKAGE) examples + rm -rf reledmac + mkdir reledmac + @xelatex reledmac.dtx #We call it at last time because reledmac handbook can refer to page of reledpar handbook, and so we need to run reledmac.dtx a last time after reledpar.dtx has been run + $(MAKE) -C examples all + mkdir reledmac/examples + ln examples/latexmkrc reledmac/examples + ln examples/*pdf reledmac/examples + ln examples/*tex reledmac/examples + ln examples/*xdy reledmac/examples + ln examples/makefile reledmac/examples + mkdir reledmac/doc-include + ln doc-include/*dtx reledmac/doc-include + ln $(PACKAGE) reledmac + @$(RM) ../reledmac.zip + zip -r ../reledmac.zip reledmac + + +clean: + $(MAKE) -C examples clean + @$(RM) *.aux *.log *.out *.toc *tex *.pdf reledmac.sty reledpar.sty *ind *ilg *lof *idx *glo *gls ../reledmac.zip |