Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhang committed Aug 20, 2012
1 parent 632df21 commit b42f14e
Show file tree
Hide file tree
Showing 23 changed files with 1,871 additions and 474 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ temp: basic
rm -f ~/pub/$(TEMP).pdf
cp ./master.pdf ~/pub/$(TEMP).pdf
chmod 755 ~/pub/$(TEMP).pdf

# open ~/pub/$(TEMP).pdf
master: basic
rm -f ~/pub/$(MASTER).pdf
cp ./master.pdf ~/pub/$(MASTER).pdf
Expand All @@ -30,4 +30,4 @@ mac:
pdflatex -shell-escape master.tex
open master.pdf
clean:
rm -rf *~ *.log auto/* _* *.lot *.lof *.toc *.out *.bak *.html *.aux
rm -rf *~ *.log auto/* _* *.lot *.lof *.toc *.out *.bak *.html *.aux
18 changes: 18 additions & 0 deletions camlp4/build.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

\section{Building Camlp4}
\label{sec:building-camlp4}


\subsection{Simple Building Experiment}

Without \verb|ocamlbuild|, \verb|ocamlfind|, a simple build would be
like this

\begin{bashcode}
ocamlc -pp camlp4o.opt error.ml
\end{bashcode}

This way is not recommended to play with \textit{camlp4}, rolling a
robust \textit{myocamlbuild}(\ref{myocamlbuild}) is the right way to
use camlp4, otherwise you may be frustrated with the complex building
process.
Loading

0 comments on commit b42f14e

Please sign in to comment.