Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
# (find-angg "2013.2-GA/Makefile")
# (find-angg "2013.2-ES/Makefile")
# (find-angg "SCANS/Makefile")
# (find-node "(make)Text Functions")

THIS  = 2014.2-GA
PNGS  = $(patsubst %.jpg,%.png,$(wildcard *.jpg))
DJVUS = $(patsubst %.png,%.djvu,$(wildcard *.png))

# (find-angg "bin/whiteboard")
# (find-es "gimp" "whiteboard")
pngs_:
	echo $(PNGS)
pngs: $(PNGS)
%.png: %.jpg
	whiteboard $< $@

%.pgm: %.png
	convert $< $@
%.pbm: %.pgm
	mkbitmap -x -f 50 -t 0.4 $< -o $@
%.djvu: %.pbm
	cjb2 -lossy $< $@

djvus_:
	echo $(DJVUS)
djvus: $(DJVUS)

djvu: $(THIS).djvu
$(THIS).djvu: $(DJVUS)
	djvm -create $(THIS).djvu $(DJVUS)

pdf: $(THIS).pdf
%.pdf: %.djvu
	ddjvu -format=pdf $< $@

# 2013.2-GA.djvu: $(DJVUS)
# 	djvm -create 2013.2-GA.djvu $(DJVUS)

# (find-djvupage "2013.2-GA.djvu")
# (find-xpdfpage "2013.2-GA.pdf")