Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#!/usr/bin/env -S make -f
# This file:
#   http://anggtwu.net/2024.2-C3/Makefile.html
#   http://anggtwu.net/2024.2-C3/Makefile
#          (find-angg "2024.2-C3/Makefile")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
#
# (defun m2 () (interactive) (find-anggfile "2024.2-C2/Makefile"))
# (defun m3 () (interactive) (find-anggfile "2024.2-C3/Makefile"))
# (find-copy-quadros-links)
#
# (defun e () (interactive) (find-angg "2024.2-C3/Makefile"))
# (defun o () (interactive) (find-angg "2023.2-C3/Makefile"))
# (defun eo () (interactive) (find-2a '(e) '(o)))
#
# Skel: (find-semestre-MM-quadros-links "24" "2" "C3"  "23" "2")
# Template: (find-angg "MAKE/2023.1-MM-template")
#
# «.update-emacs-blogme»	(to "update-emacs-blogme")

# (find-angg "2017.2-GA/Makefile")
# (find-angg "2023.2-C3/Makefile")
# (find-angg "SCANS/Makefile")
# (find-node "(make)Text Functions")
# (find-node "(make)Automatic Variables")
# (find-node "(make)Automatic Variables" "$@" "target of the rule")
# (find-node "(make)Automatic Variables" "$*" "stem")

THIS  = 2024.2-C3
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)
	echo djvm -create $(THIS).djvu 2024????_C3???_?.djvu
	djvm      -create $(THIS).djvu 2024????_C3???_?.djvu

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

# (find-fline "~/2023.2-quadros/")
# (find-fline "~/2024.2-quadros/")

# See: (find-eepitch-intro "3.3. `eepitch-preprocess-line'")
# (setq eepitch-preprocess-regexp "^")
# (setq eepitch-preprocess-regexp "^#T ?")
# (find-fline "~/2024.2-quadros/")
#
#T * (eepitch-shell)
#T * (eepitch-kill)
#T * (eepitch-shell)
#T f () { cp -av ~/2024.2-quadros/$1.jpg $2.jpg
#T        chmod 644 $2.jpg
#T        make $2.png $2.djvu
#T        make $2.pdf
#T      }
#T f 20240923_165944-C3-1 20240923-C3-1
#T f 20240923_165956-C3-2 20240923-C3-2
#T f 20240923_173933-C3-3 20240923-C3-3
#T f 20240923_180241-C3-4 20240923-C3-4
#T f 20240925_173658-C3-1 20240925-C3-1
#T f 20240925_173704-C3-2 20240925-C3-2
#T f 20240925_180435-C3-3 20240925-C3-3
#T f 20240930_175942-C3-1 20240930-C3-1
#T f 20240930_175948-C3-2 20240930-C3-2
#T f 20241002_171402-C3-1 20241002-C3-1
#T f 20241002_172203-C3-2 20241002-C3-2
#T f 20241002_175650-C3-3 20241002-C3-3
#T f 20241002_175656-C3-4 20241002-C3-4
#T f 20241007_175106-C3-1 20241007-C3-1
#T f 20241007_175112-C3-2 20241007-C3-2
#T f 20241009_175513-C3-1 20241009-C3-1
#T f 20241009_175523-C3-2 20241009-C3-2
#T f 20241021_181403-C3-1 20241021-C3-1
#T f 20241023_180648-C3-1 20241023-C3-1
#T f 20241030_174236-C3-1 20241030-C3-1
#T f 20241030_174243-C3-2 20241030-C3-2
#T f 20241030_180854-C3-3 20241030-C3-3
#T f 20241030_180900-C3-4 20241030-C3-4
#T f 20241104_175023-C3-1 20241104-C3-1
#T f 20241104_175031-C3-2 20241104-C3-2
#T f 20241104_175938-C3-3 20241104-C3-3
#T f 20241106_180052-C3-1 20241106-C3-1
#T f 20241111_175230-C3-1 20241111-C3-1
#T f 20241113_183826-C3-1 20241113-C3-1
#T f 20241113_183832-C3-2 20241113-C3-2
#T f 20241118_171626-C3-1 20241118-C3-1
#T f 20241118_171630-C3-2 20241118-C3-2
#T f 20241118_180749-C3-3 20241118-C3-3
#T f 20241125_181432-C3-1 20241125-C3-1
#T f 20241125_181441-C3-2 20241125-C3-2
#T f 20241127_172248-C3-1 20241127-C3-1
#T f 20241127_172255-C3-2 20241127-C3-2
#T f 20241127_175919-C3-3 20241127-C3-3
#T f 20241127_175925-C3-4 20241127-C3-4
#T f 20241127_181127-C3-5 20241127-C3-5
#T f 20241202_175214-C3-1 20241202-C3-1
#T f 20241202_175220-C3-2 20241202-C3-2
#T f 20241204_165611-C3-1 20241204-C3-1
#T f 20241204_165619-C3-2 20241204-C3-2
#T f 20241204_172742-C3-3 20241204-C3-3
#T f 20241204_172751-C3-4 20241204-C3-4
#T f 20241204_181003-C3-5 20241204-C3-5
#T f 20241204_181011-C3-6 20241204-C3-6
#T f 20241211_182029-C3-1 20241211-C3-1
#T f 20241211_182035-C3-2 20241211-C3-2
#T
#T f 20241216_181414-C3-1 20241216-C3-1
#T f 20241216_181420-C3-2 20241216-C3-2
#T
#T cd ~/2024.2-C3/
#T 'ls' 2024*.jpg | sort | sed -e 's/jpg/djvu/g' | tee /tmp/odjvus
#T djvm -create C3-quadros.djvu $(cat /tmp/odjvus)
#T make         C3-quadros.pdf
#T # (find-pdf-page "~/2024.2-C3/C3-quadros.pdf" 16)
#T # (find-fline "~/TH/2024.2-C3.blogme")
#T # (c3q)
#T
#T rsync -avvz -e ssh \
#T   *.jpg *.png C3-quadros.pdf \
#T     edrx@linode:slow_html/2024.2-C3
#T rsync -avvz -e ssh \
#T   *.jpg *.png C3-quadros.pdf \
#T     edrx@linode:public_html/2024.2-C3
#T 
#T # (find-linodesfile "2024.2-C3/")
#T # (find-linodepfile "2024.2-C3/")
#T # (find-angg "LUA/Calendar3.lua" "Materia0-quadros")
#T # http://anggtwu.net/2024.2-C3/C3-quadros.pdf

#T # «update-emacs-blogme»  (to ".update-emacs-blogme")
#T # (c3q)
#T # (find-2a nil '(find-angg "LUA/Calendar3.lua" "NQuadros-emacsqs"))
#T # (find-2a nil '(find-angg ".emacs" "c3q242"))
#T # (find-2a nil '(find-angg ".emacs"))
#T # (find-2a nil '(find-angg "LUA/Calendar3.lua" "Materia0-quadros"))
#T # (find-2a nil '(find-TH "2024.2-C3" "agora"))
#T # (find-2a nil '(find-TH "2024.2-C3"))
#T
#T * (eepitch-linode)
#T * (eepitch-kill)
#T * (eepitch-linode)
#T cd ~/public_html/
#T makepageindexhtmls
#T
#T # http://anggtwu.net/2024.2-C3/
#T # http://anggtwu.net/2024.2-C3/C3-quadros.pdf


# Local Variables:
# coding:  utf-8-unix
# End: