Commit 41c3c8fd authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Added text target (for notes).

parent 8904b646
......@@ -36,6 +36,7 @@ PDF := $(addsuffix .pdf, $(SRC))
RTF := $(addsuffix .rtf, $(SRC))
DOC := $(addsuffix .docx, $(SRC))
HDT := $(addsuffix _handout.pdf, $(SRC))
TXT := $(addsuffix .txt, $(SRC))
# Temporary files.
TMP := blg log nav out snm toc dvi aux idx vrb ps glg glo ist
......@@ -69,11 +70,13 @@ doc: $(DOC)
handout: $(HDT)
text: $(TXT)
clean:
rm -f $(foreach I, $(TMP), $(addsuffix .$I, $(SRC))) $(foreach I, $(TMP), $(addsuffix _handout.$I, $(SRC))) $(PNG) $(TNP)
distclean: clean
rm -f $(PDF) $(RTF) $(DOC) $(HDT) $(BIB) $(EPS) $(TEX_T)
rm -f $(PDF) $(RTF) $(DOC) $(HDT) $(TXT) $(BIB) $(EPS) $(TEX_T)
release: all clean
......@@ -211,3 +214,6 @@ release: all clean
%_handout.tex: %.tex
sed 's/^\\documentclass\[/\\documentclass\[handout, /' $< > $@
%.txt: %.tex
grep "^%" $< | cut -b 3- > $@
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