Commit 784834d6 authored by User expired's avatar User expired
Browse files

doc: Move pdf documentation to subdirectory

parent 62cff7fe
README.html
master.aux
master.log
master.nav
master.out
master.pdf
master.snm
master.out
master.toc
master.vrb
*~
*.swp
......
......@@ -2,7 +2,7 @@ PREFIX = $(HOME)
BINDIR = $(PREFIX)/bin
SCRIPTS = $(wildcard bin/*[^~])
STYLE ?= --stylesheet-dirs=etc
CLEAN = README.html $(addprefix master,.aux .log .fdb_latexmk .fls .nav .out .pdf .snm .toc .vrb)
CLEAN = README.html $(addprefix doc/master,.aux .log .fdb_latexmk .fls .nav .out .pdf .snm .toc .vrb)
info:
@echo "Available targets:"
......@@ -17,10 +17,10 @@ install: $(SCRIPTS)
uninstall: | $(wildcard $(addprefix $(BINDIR)/,$(notdir $(SCRIPTS))))
$(if $|,rm -f $|)
doc: README.html master.pdf
doc: README.html doc/master.pdf
master.pdf: master.tex $(wildcard figures/*.jpg)
latexmk -pdf $< && latexmk -c $<
doc/master.pdf: doc/master.tex $(wildcard doc/figures/*.jpg)
cd doc && latexmk -pdf master && latexmk -c master
clean:
$(if $(wildcard $(CLEAN)),$(RM) $(wildcard $(CLEAN)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment