瀏覽代碼

Small changes, add Makefile and .gitignore

Ryan Newton 8 年之前
父節點
當前提交
5eb4ede8cd
共有 3 個文件被更改,包括 28 次插入3 次删除
  1. 2 0
      .gitignore
  2. 18 0
      Makefile
  3. 8 3
      book.tex

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+build/
+.DS_Store

+ 18 - 0
Makefile

@@ -0,0 +1,18 @@
+
+.PHONY: all cont continuous clean publish
+
+LATEXMK= latexmk -outdir=./build -pdf
+
+all:
+	$(LATEXMK) book.tex
+
+cont: continuous
+continuous:
+	$(LATEXMK) -pvc book.tex
+
+clean:
+	$(LATEXMK) -C book.tex
+
+# Specific to Fall16:
+publish:
+	scp build/book.pdf tank.soic.indiana.edu:p523-web/book.pdf

+ 8 - 3
book.tex

@@ -29,9 +29,9 @@
 % Computer Modern is already the default. -Jeremy
 %\renewcommand{\ttdefault}{cmtt}
 
+\definecolor{comment-red}{rgb}{0.8,0,0}
 \if{0}
 % Peanut gallery comments:
-\definecolor{comment-red}{rgb}{0.8,0,0}
 \newcommand{\rn}[1]{{\color{comment-red}{(RRN: #1)}}}
 \newcommand{\margincomment}[1]{\marginpar{#1}}
 \else
@@ -122,6 +122,7 @@ University.
 
 \mainmatter
 
+\if{0}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter*{Preface}
 
@@ -229,7 +230,6 @@ parts of x86-64 assembly language that are needed.
 %  \item Miscellaneous material (e.g. suggested readings etc).
 %\end{itemize}
 
-\if{0}
 \section*{Acknowledgments}
 
 Need to give thanks to 
@@ -2900,6 +2900,12 @@ programs to make sure that your move biasing is working properly.
   live range splitting~\citep{Cooper:1998ly}. \\ --Jeremy}
 
 
+\chapter{More coming soon}
+
+\color{comment-red}{The rest of this book is undergoing some updates; it will be
+  released as we go along during the Fall 2016 semester.  -Ryan}
+
+\end{document}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{Booleans, Control Flow, and Type Checking}
 \label{ch:bool-types}
@@ -3850,7 +3856,6 @@ if_end21289:
 \label{fig:opt-if}
 \end{figure}
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{Tuples and Garbage Collection}
 \label{ch:tuples}