FILES = *dtx *pdf README makefile latexmkrc dist: indextools.pdf indextools.sty @$(RM) ../indextools.zip rm -rf indextools mkdir indextools ln $(FILES) indextools zip -r ../indextools.zip indextools README: README.md ln README.md README %.sty: %.dtx pdflatex $*.dtx %.pdf: %.dtx latexmk $*.dtx clean: @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz*