Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: de2055ad24
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (38 sloc) 1.289 kb
.PHONY: once spell compilecheck fmtcheck
all: go.pdf
go.pdf: go-*.tex ex-*/*.tex src/*.go tab/*.tex fig/*.tex blocksbook.cls go.bib .fig .tab about-*.tex
rm -f go.tex && ln -s go_a4.tex go.tex
xelatex go.tex && bibtex go && makeindex go \
&& xelatex go.tex && xelatex go.tex
go-kindle.pdf: go-*.tex ex-*/*.tex src/*.go tab/*.tex fig/*.tex blocksbook.cls go.bib .fig .tab about-*.tex
rm -f go.tex && ln -s go_kindle.tex go.tex
xelatex go.tex && bibtex go && makeindex go \
&& xelatex go.tex && xelatex go.tex
mv go.pdf go-kindle.pdf
.fig: fig/*.svg
( cd fig; make all )
touch .fig
.tab:
( cd tab; make all )
touch .tab
clean:
rm -f go.lol go.aux *.log map.log go.pdf go.bbl go.blg go.toc go.ind go.lot go.lof go.loe
rm -f go.ilg go.idx go.lgpl missfont.log doc_data.txt go.ex .fig .tab
rm -f go.code
distclean: clean
( cd fig; make clean )
( cd tab; make clean )
( cd src; make clean )
spell:
for i in *.tex ex-*/*.tex; do aspell check $$i; done
once:
xelatex go.tex
compilecheck:
@bin/go-lstinputlisting.pl ~/git/gobook *.tex
@bin/go-lstinputlisting.pl ~/git/gobook ex-*/*.tex
@bin/go-lstinputlisting.pl ~/git/gobook fig/*.tex
@rm -f *.6 *.8
fmtcheck:
@bin/go-lstlisting.pl *.tex
@bin/go-lstlisting.pl ex-*/*.tex
@bin/go-lstlisting.pl fig/*.tex
Jump to Line
Something went wrong with that request. Please try again.