Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
# This file:
# http://angg.twu.net/quadradinho/Makefile.html
# http://angg.twu.net/quadradinho/Makefile
#         (find-angg "quadradinho/Makefile")

# Old notes:
# This produces the PDFs - one for reading online,
#   http://angg.twu.net/quadradinho/quadradinho-a5.pdf
# an another one for printing as an A5 booklet,
#   http://angg.twu.net/quadradinho/quadradinho-print.pdf
# for my political zine ("Saia do seu quadradinho"). The tarball -
# made by the "tgz" target below - is not online yet, but this is just
# because I was too lazy to create a good way to update it
# automatically...

# More about the zine (includes pics of how I bind each copy):
#   http://angg.twu.net/quadradinho.html
# The main LaTeX source files:
#   http://angg.twu.net/quadradinho/quadradinho-texto.tex.html
#   http://angg.twu.net/quadradinho/quadradinho-a5.tex.html
#   http://angg.twu.net/quadradinho/quadradinho-print.tex.html
# If you are interested, please _do_ get in touch! I'm:
#   eduardoochs@gmail.com

# Here are some pics of the place that inspired me to turn my texts
# into a (political) zine - it's a bookstore in Amsterdam called Het
# Fort Van Sjakoo.
#   http://www.flickr.com/photos/eduardoochs/



# (find-angg "LATEX/Makefile")
# (find-node "(make)")
# (find-node "(make)Automatic Variables")
# (find-node "(make)Automatic Variables" "$@" "target of the rule")
# (find-node "(make)Automatic Variables" "$<" "first prerequisite")
# (find-node "(make)Automatic Variables" "$*" "stem")

# (2022mar31)
# Default target:
#
all-2022:
	make        STEM=quadradinho-2020         veryclean
	make        STEM=quadradinho-2020-booklet veryclean
	pdflatex -record quadradinho-2020.tex
	pdflatex         quadradinho-2020.tex
	pdflatex         quadradinho-2020-booklet.tex
	pdflatex         quadradinho-2020-booklet.tex

pdf:	   $(STEM).pdf
clean:	   $(STEM).clean
veryclean: $(STEM).veryclean

%.pdf:
	lualatex $*.tex
	biber    $*
	lualatex $*.tex

%.clean:
	rm -Rfv $*.aux $*.log $*.out $*.toc $*.dnt $*.fls
	rm -Rfv $*.bbl $*.bcf $*.blg $*.run.xml
	rm -Rfv $*.idx $*.toc

%.veryclean: %.clean
	rm -Rfv $*.pdf



# Old:

SVGS = \
  25-50-25.svg filtros.svg front.svg greve-full.svg greve-simplificado.svg
PSVGS = \
  25-50-25.pdf filtros.pdf front.pdf greve-full.pdf greve-simplificado.pdf
OTHERFIGURES = qrcode.png queremos4.pdf
TEXFILES = \
  quadradinho-texto.tex \
  quadradinho-a5.tex    \
  quadradinho-print.tex

FILES = $(SVGS) $(PSVGS) $(OTHERFIGURES) $(TEXFILES) Makefile

a5:
	pdflatex  quadradinho-a5.tex
	pdflatex  quadradinho-a5.tex
	makeindex quadradinho-a5
	pdflatex  quadradinho-a5.tex

print:
	pdflatex  quadradinho-print.tex

tgz:
	(TZ=GMT date; date) > VERSION
	tar -cvzf quadradinho-src.tgz VERSION $(FILES)

clean:
	rm -v quadradinho-a5.{aux,idx,ilg,ind,log,out,toc}

FILES:
	@echo ${FILES} | tr ' ' '\n'



# (find-sh "make FILES")
# (find-sh "git commit -a -m '2013sep24 0.8f'")
# (find-gitk "~/quadradinho/")


# Local Variables:
# coding:               raw-text-unix
# ee-anchor-format:     "«%s»"
# End: