From b2358100672a15cac058b26f8ea9d4fc1191e3f6 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 28 Sep 2015 10:45:48 +0200 Subject: [PATCH] update --- 1intro.tex | 3 +++ Makefile | 15 +++++++-------- tt.tex | 3 ++- 3 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 1intro.tex diff --git a/1intro.tex b/1intro.tex new file mode 100644 index 0000000..7348099 --- /dev/null +++ b/1intro.tex @@ -0,0 +1,3 @@ +The objective of this document is to propose a testing approach for the +Transmission Control Protocol as described in RFC793~\cite{rfc793}, from now on +\textit{TCP}. diff --git a/Makefile b/Makefile index e8a2b67..22cac39 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,14 @@ -SHELL:=/bin/bash -LATEX=pdflatex +LATEX:=pdflatex -OUTPUT:=tt.pdf -BASEOUTPUT:=$(basename $(OUTPUT)) +DOCUMENT:=tt +SOURCES:=$(filter-out preamble.tex,$(shell ls *.tex)) -.SECONDARY: $(addsuffix .fmt,$(BASEOUTPUT)) +.SECONDARY: $(addsuffix .fmt,$(DOCUMENT)) .PHONY: clobber graphs -all: $(OUTPUT) +all: $(DOCUMENT).pdf -%.pdf: $(SOURCES) %.fmt +%.pdf: %.tex %.fmt $(SOURCES) $(LATEX) $(basename $@) bibtex $(basename $@) $(LATEX) $(basename $@) @@ -19,4 +18,4 @@ all: $(OUTPUT) $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" clean: - $(RM) -v $(addprefix $(BASEOUTPUT).,fmt aux bbl blg dvi log out toc pdf) + $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf) diff --git a/tt.tex b/tt.tex index 60b70b2..6b2c773 100644 --- a/tt.tex +++ b/tt.tex @@ -4,8 +4,9 @@ \tableofcontents \newpage + \section{Introduction} -Hello World!~\cite{rfc793}. +\input{1intro.tex} \newpage \bibliographystyle{plain} -- 2.20.1