Skip to content
Snippets Groups Projects
Commit d2ddaa08 authored by Laros's avatar Laros
Browse files

Added a Makefile for compiling papers.

git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@646 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent 30ba85ef
No related branches found
No related tags found
No related merge requests found
/home/jfjlaros/projects/skel/Makefile
\ No newline at end of file
../shared/Makefile
\ No newline at end of file
# Makefile
#
LATEX = latex
BIBTEX = bibtex
DVIPS = dvips
PS2PDF = ps2pdf14
PDF = $(addsuffix .pdf, $(basename $(shell grep -l '\\begin{document' *.tex)))
BIB = $(addsuffix .bbl, $(basename $(shell grep -l '\\nocite{\|\\cite{' *.tex)))
all: $(BIB) $(PDF)
clean:
rm -f *.blg *.log *.nav *.out *.snm *.toc *.dvi *.aux
release: all clean
distclean: clean
rm -f $(BIB) $(PDF)
%.aux: %.tex
$(LATEX) $^
rm $(addsuffix .dvi, $(basename $^))
%.bbl: %.aux
$(BIBTEX) $(basename $^)
%.dvi: %.tex
$(LATEX) $^
$(LATEX) $^
$(LATEX) $^
%.ps: %.dvi
$(DVIPS) $^ -o $@
%.pdf: %.ps
$(PS2PDF) $^
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment