engine ?= pdflatex # Override on the command line # with engine=latex # or with engine=lualatex # or with engine=xetex. pdf : sty $(engine) nameauth.dtx $(engine) nameauth.dtx makeindex -s gind.ist -o nameauth.ind nameauth.idx makeindex -s gglo.ist -o nameauth.gls nameauth.glo $(engine) nameauth.dtx sty : nameauth.dtx nameauth.ins $(engine) nameauth.ins clean : rm -f nameauth.aux rm -f nameauth.glo rm -f nameauth.gls rm -f nameauth.idx rm -f nameauth.ilg rm -f nameauth.ind rm -f nameauth.log rm -f nameauth.out clobber : clean rm -f nameauth.dvi rm -f nameauth.pdf rm -f nameauth.sty touch nameauth.* dist: pdf clean