LaTeX package for fly genetics.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
834 B

ENGINE = pdflatex
DESTDIR = dist
all: flygenet.sty flygenet.pdf
flygenet.sty flygenet.glo flygenet.idx: flygenet.dtx lppl-1-3c.tex
$(ENGINE) $<
flygenet.gls: flygenet.glo
makeindex -s gglo.ist -o $@ $<
flygenet.ind: flygenet.idx
makeindex -s gind.ist -o $@ $<
flygenet.pdf: flygenet.dtx flygenet.gls flygenet.ind
$(ENGINE) $<
$(ENGINE) $<
install: flygenet.pdf flygenet.sty
mkdir -p $(DESTDIR)/src/latex/flygenet
mkdir -p $(DESTDIR)/doc/latex/flygenet
mkdir -p $(DESTDIR)/tex/latex/flygenet
install -m 644 flygenet.dtx lppl-1-3c.tex Makefile $(DESTDIR)/src/latex/flygenet
install -m 644 flygenet.pdf $(DESTDIR)/doc/latex/flygenet
install -m 644 flygenet.sty $(DESTDIR)/tex/latex/flygenet
clean:
rm -f flygenet.{aux,glo,gls,idx,ilg,ind,log,out,toc}
mrproper: clean
rm -f flygenet.{sty,pdf}
.PHONY: clean mrproper