1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
subdirs := install
all: Tutorial.html Tutorial.txt pdf $(subdirs)
pdf: Tutorial.pdf biopdb_faq.pdf
Tutorial.pdf: Tutorial.tex Tutorial/chapter_*.tex
pdflatex Tutorial.tex
pdflatex Tutorial.tex
pdflatex Tutorial.tex
biopdb_faq.pdf: biopdb_faq.tex
pdflatex biopdb_faq.tex
pdflatex biopdb_faq.tex
pdflatex biopdb_faq.tex
Tutorial.html: Tutorial.tex Tutorial/chapter_*.tex
hevea -fix Tutorial.tex
Tutorial.txt: Tutorial.tex Tutorial/chapter_*.tex
hevea -fix -text Tutorial.tex
clean-subdirs: $(subdirs)
( for f in $^ ; do $(MAKE) clean -C $$f ; done )
clean: clean-subdirs
rm -f Tutorial.aux
rm -f Tutorial.toc
rm -f Tutorial.log
rm -f Tutorial.out
rm -f Tutorial.haux
rm -f Tutorial.htoc
rm -f biopdb_faq.aux
rm -f biopdb_faq.log
rm -f biopdb_faq.out
distclean-subdirs: $(subdirs)
( for f in $^ ; do $(MAKE) distclean -C $$f ; done )
distclean: clean distclean-subdirs
rm -f biopdb_faq.pdf
rm -f Tutorial.pdf
rm -f Tutorial.html
rm -f Tutorial.txt
rm -f *_motif.gif #output from hacha
.PHONY: $(subdirs)
$(subdirs):
$(MAKE) -C $@
|