summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ledmac/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/ledmac/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/ledmac/Makefile')
-rw-r--r--macros/latex/contrib/ledmac/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/macros/latex/contrib/ledmac/Makefile b/macros/latex/contrib/ledmac/Makefile
new file mode 100644
index 0000000000..9338b83549
--- /dev/null
+++ b/macros/latex/contrib/ledmac/Makefile
@@ -0,0 +1,42 @@
+PACKAGE = *.dtx \
+ *.ins \
+ ledmac.pdf \
+ ledarab.pdf \
+ ledpar.pdf \
+ *eps \
+ README \
+ Makefile
+
+
+
+.PHONY: all dist clean
+
+
+all: ledmac.sty ledmac.pdf ledpar.sty ledpar.pdf ledarab.sty ledarab.pdf dist
+
+doc: *.pdf
+
+
+%.sty: %.ins %.dtx
+ rm -f $*.sty led*tex
+ @pdflatex $*.ins
+
+%.pdf: %.sty %.dtx djd17novL.eps djdpoems3.eps ledarden.eps ledfeat.eps djd17novR.eps djdpoems4.eps ledbraonain.eps ledioc.eps djdpoems1.eps egarab.eps ledeasy.eps ledmixed.eps djdpoems2.eps egarabpar.eps ledekker.eps villon.eps
+ @pdflatex $*.dtx
+ @makeindex -s gind.ist -o $*.ind $*.idx
+ @makeindex -s gglo.ist -o $*.gls $*.glo
+ @pdflatex $*.dtx
+ @pdflatex $*.dtx
+
+
+dist: $(PACKAGE)
+ @$(RM) ../ledmac.zip
+ rm -rf ledmac
+ mkdir ledmac
+ ln $(PACKAGE) ledmac
+ zip -r ../ledmac.zip ledmac
+
+
+clean:
+ @$(RM) *.aux *.log *.out *.toc *tex *.pdf ledmac.sty ledarab.sty ledpar.sty afoot.sty *ind *ilg *lof *idx *glo *gls ../ledmac.zip
+