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