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.1-C3/Makefile.html
#   http://anggtwu.net/2024.1-C3/Makefile
#          (find-angg "2024.1-C3/Makefile")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
#
# (defun m2 () (interactive) (find-anggfile "2024.1-C2/Makefile"))
# (defun m3 () (interactive) (find-anggfile "2024.1-C3/Makefile"))
# (find-copy-quadros-links)
#
# (defun e () (interactive) (find-angg "2024.1-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" "1" "C3"  "23" "2")
# Template: (find-angg "MAKE/2023.1-MM-template")

# (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.1-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.1-quadros/")

# See: (find-eepitch-intro "3.3. `eepitch-preprocess-line'")
# (setq eepitch-preprocess-regexp "^")
# (setq eepitch-preprocess-regexp "^#T ?")
# (find-fline "~/2024.1-quadros/")
#
#T * (eepitch-shell)
#T * (eepitch-kill)
#T * (eepitch-shell)
#T f () { cp -av ~/2024.1-quadros/$1.jpg $2.jpg
#T        chmod 644 $2.jpg
#T        make $2.png $2.djvu
#T        make $2.pdf
#T      }
#T f 20240318_172413-C3-1 20240318-C3-1
#T f 20240318_175958-C3-2 20240318-C3-2
#T f 20240320_182027-C3-1 20240320-C3-1
#T f 20240320_182034-C3-2 20240320-C3-2
#T f 20240325_175709-C3-1 20240325-C3-1
#T f 20240325_175714-C3-2 20240325-C3-2
#T f 20240327_180116-C3-1 20240327-C3-1
#T f 20240401_171753-C3-1 20240401-C3-1
#T f 20240401_171757-C3-2 20240401-C3-2
#T f 20240401_175605-C3-3 20240401-C3-3
#T f 20240401_175612-C3-4 20240401-C3-4
#T f 20240403_172510-C3-1 20240403-C3-1
#T f 20240403_172516-C3-2 20240403-C3-2
#T f 20240403_180012-C3-3 20240403-C3-3
#T f 20240403_180018-C3-4 20240403-C3-4
#T f 20240408_165946-C3-1 20240408-C3-1
#T f 20240408_165951-C3-2 20240408-C3-2
#T f 20240408_180210-C3-3 20240408-C3-3
#T f 20240408_180215-C3-4 20240408-C3-4
#T f 20240417_175455-C3-1 20240417-C3-1
#T f 20240417_175509-C3-2 20240417-C3-2
#T f 20240424_180439-C3-1 20240424-C3-1
#T f 20240424_180444-C3-2 20240424-C3-2
#T f 20240701_175441-C3-1 20240701-C3-1
#T f 20240701_175509-C3-2 20240701-C3-2
#T f 20240703_175039-C3-1 20240703-C3-1
#T f 20240703_175049-C3-2 20240703-C3-2
#T f 20240708_174207-C3-1 20240708-C3-1
#T f 20240708_174220-C3-2 20240708-C3-2
#T f 20240708_174935-C3-3 20240708-C3-3
#T f 20240710_174350-C3-1 20240710-C3-1
#T f 20240710_174357-C3-2 20240710-C3-2
#T f 20240710_181012-C3-3 20240710-C3-3
#T f 20240715_175705-C3-1 20240715-C3-1
#T f 20240715_175712-C3-2 20240715-C3-2
#T f 20240717_170835-C3-1 20240717-C3-1
#T f 20240717_170842-C3-2 20240717-C3-2
#T f 20240717_174337-C3-3 20240717-C3-3
#T f 20240717_174340-C3-4 20240717-C3-4
#T f 20240722_171309-C3-1 20240722-C3-1
#T f 20240722_171315-C3-2 20240722-C3-2
#T f 20240722_180732-C3-3 20240722-C3-3
#T f 20240724_173511-C3-1 20240724-C3-1
#T f 20240724_173516-C3-2 20240724-C3-2
#T f 20240729_175830-C3-1 20240729-C3-1
#T f 20240729_175835-C3-2 20240729-C3-2
#T f 20240807_180154-C3-1 20240807-C3-1
#T f 20240807_180200-C3-2 20240807-C3-2
#T f 20240807_212718-C3-3 20240807-C3-3
#T f 20240812_180209-C3-1 20240812-C3-1
#T f 20240812_180215-C3-2 20240812-C3-2
#T
#T f 20240814_174754-C3-1 20240814-C3-1
#T f 20240814_174800-C3-2 20240814-C3-2
#T f 20240814_181233-C3-3 20240814-C3-3
#T
#T cd ~/2024.1-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.1-C3/C3-quadros.pdf" 16)
#T # (find-fline "~/TH/2024.1-C3.blogme")
#T # (c3q)
#T
#T rsync -avvz -e ssh \
#T   *.jpg *.png C3-quadros.pdf \
#T     edrx@linode:slow_html/2024.1-C3
#T rsync -avvz -e ssh \
#T   *.jpg *.png C3-quadros.pdf \
#T     edrx@linode:public_html/2024.1-C3
#T 
#T # (find-linodesfile "2024.1-C3/")
#T # (find-linodepfile "2024.1-C3/")
#T http://anggtwu.net/2024.1-C3/C3-quadros.pdf
#T

#T * (eepitch-linode)
#T * (eepitch-kill)
#T * (eepitch-linode)
#T cd ~/public_html/
#T makepageindexhtmls
#T
#T # http://anggtwu.net/2024.1-C3/
#T # http://anggtwu.net/2024.1-C3/C3-quadros.pdf


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