pkg=arabluatex sty: clean lualatex $(pkg).ins doc: clean sty lualatex $(pkg).dtx makeindex -s gind.ist -o $(pkg).ind $(pkg).idx makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo biber arabluatex lualatex $(pkg).dtx lualatex $(pkg).dtx all: clean sty doc package: clean sty cp $(pkg)*.{sty,lua} ~/texmf/tex/lualatex/arabluatex clean: rm -rf saved/ mkdir saved cp *.{lua,ins,dtx,bib} makefile saved rm *.* cp saved/* . rm -rf saved/