summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eledmac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/eledmac/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/eledmac/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/eledmac/Makefile b/Master/texmf-dist/doc/latex/eledmac/Makefile
index 4f28f1e0134..9081baf5dd8 100644
--- a/Master/texmf-dist/doc/latex/eledmac/Makefile
+++ b/Master/texmf-dist/doc/latex/eledmac/Makefile
@@ -3,7 +3,8 @@ PACKAGE = *.dtx \
eledmac.pdf \
eledpar.pdf \
README \
- Makefile
+ Makefile \
+ latexmkrc \
@@ -14,6 +15,8 @@ all: eledmac.sty eledmac.pdf eledpar.sty eledpar.pdf dist
doc: *.pdf
+README: README.md
+ pandoc README.md -o README
%.sty: %.ins %.dtx
rm -f $*.sty $*tex
@@ -27,14 +30,22 @@ doc: *.pdf
@pdflatex $*.dtx
-dist: $(PACKAGE)
+dist: $(PACKAGE) examples
rm -rf eledmac
mkdir eledmac
+ mkdir eledmac/examples
+ $(MAKE) -C examples clean
+ $(MAKE) -C examples all
+ cp examples/*pdf eledmac/examples
+ cp examples/*tex eledmac/examples
+ cp examples/makefile eledmac/examples
+
cp $(PACKAGE) eledmac
@$(RM) ../eledmac.zip
zip -r ../eledmac.zip eledmac
clean:
+ $(MAKE) -C examples clean
@$(RM) *.aux *.log *.out *.toc *tex *.pdf eledmac.sty eledpar.sty *ind *ilg *lof *idx *glo *gls ../eledmac.zip