Skip to content
Snippets Groups Projects
Commit 4071b161 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Makefile cleanup.

parent e38f4592
No related branches found
No related tags found
No related merge requests found
......@@ -4,15 +4,12 @@ d := docs/
include base.mk
include $(d)rules.mk
.PHONY: all clean distclean
all: docs
clean:
clean: bibclean
rm -rf $(BUILD)
bibclean:
rm -f `find docs/report.bib~*`
distclean: clean bibclean
rm -f `find -name \*.pyc`
.PHONY: all clean bibclean distclean
......@@ -4,7 +4,7 @@ LATEX = TEXINPUTS=$(d):$(b): pdflatex -halt-on-error -interaction=nonstopmode \
-output-directory $(@D) -shell-escape
REF_WARNING := "Rerun to get cross-references right"
.PHONY: docs report
.PHONY: docs report bibclean
docs: report $(b)proposal.pdf $(b)presentation.pdf
......@@ -24,3 +24,6 @@ $(b)$(REPORT).bbl: $(d)$(REPORT).bib
BIBINPUTS=$(d) bibtex8 $(@:.bbl=.aux)
$(LATEX) $(^:.bib=.tex)
$(LATEX) $(^:.bib=.tex)
bibclean:
rm -f $(d)report.bib~*
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