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/2023.1-ES/Makefile.html
#   http://anggtwu.net/2023.1-ES/Makefile
#          (find-angg "2023.1-ES/Makefile")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
#
# (defun m2 () (interactive) (find-anggfile "2023.1-C2/Makefile"))
# (defun m4 () (interactive) (find-anggfile "2023.1-C4/Makefile"))
# (defun m5 () (interactive) (find-anggfile "2023.1-ES/Makefile"))
# (defun m7 () (interactive) (find-anggfile "2023.1-C7/Makefile"))
# (find-copy-quadros-links)
#
# (defun e () (interactive) (find-angg "2023.1-ES/Makefile"))
# (defun o () (interactive) (find-angg "2022.2-ES/Makefile"))
# (defun eo () (interactive) (find-2a '(e) '(o)))
#
# Skel: (find-semestre-MM-quadros-links "23" "1" "ES"  "22" "2")

# (find-angg "2017.2-GA/Makefile")
# (find-angg "2022.2-ES/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  = 2023.1-ES
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 2023????_ES???_?.djvu
	djvm      -create $(THIS).djvu 2023????_ES???_?.djvu

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

# (find-fline "~/2022.2-quadros/")
# (find-fline "~/2023.1-quadros/")

# See: (find-eepitch-intro "3.3. `eepitch-preprocess-line'")
# (setq eepitch-preprocess-regexp "^")
# (setq eepitch-preprocess-regexp "^#T ?")
# (find-fline "~/2023.1-quadros/")
#
#T * (eepitch-shell)
#T * (eepitch-kill)
#T * (eepitch-shell)
#T f () { cp -av ~/2023.1-quadros/$1.jpg $2.jpg
#T        make $2.png $2.djvu
#T        make $2.pdf
#T      }
#T f 20230419_194739-ES-1 20230419-ES-1
#T f 20230419_194748-ES-2 20230419-ES-2
#T f 20230419_210440-ES-3 20230419-ES-3
#T f 20230419_210500-ES-4 20230419-ES-4
#T f 20230426_195855-ES-1 20230426-ES-1
#T f 20230426_195906-ES-2 20230426-ES-2
#T f 20230426_205222-ES-3 20230426-ES-3
#T f 20230426_205243-ES-4 20230426-ES-4
#T f 20230426_210111-ES-5 20230426-ES-5
#T f 20230503_194737-ES-1 20230503-ES-1
#T f 20230503_194746-ES-2 20230503-ES-2
#T f 20230503_211639-ES-3 20230503-ES-3
#T f 20230503_211650-ES-4 20230503-ES-4
#T f 20230510_191657-ES-1 20230510-ES-1
#T f 20230510_191714-ES-2 20230510-ES-2
#T f 20230510_204520-ES-3 20230510-ES-3
#T f 20230510_204542-ES-4 20230510-ES-4
#T f 20230517_195553-ES-1 20230517-ES-1
#T f 20230517_195602-ES-2 20230517-ES-2
#T f 20230517_210339-ES-3 20230517-ES-3
#T f 20230517_210352-ES-4 20230517-ES-4
#T f 20230531_200000-ES-6791 20230531-ES-6791
#T f 20230531_200000-ES-6796 20230531-ES-6796
#T f 20230531_200000-ES-6798 20230531-ES-6798
#T f 20230531_200000-ES-6799 20230531-ES-6799
#T f 20230531_200000-ES-6801 20230531-ES-6801
#T f 20230531_200000-ES-6806 20230531-ES-6806
#T f 20230531_200000-ES-6808 20230531-ES-6808
#T f 20230531_200000-ES-6810 20230531-ES-6810
#T f 20230531_205711-ES-8 20230531-ES-8
#T f 20230531_205723-ES-9 20230531-ES-9
#T f 20230607_200314-ES-1 20230607-ES-1
#T f 20230607_200334-ES-2 20230607-ES-2
#T f 20230607_205009-ES-3 20230607-ES-3
#T f 20230607_205016-ES-4 20230607-ES-4
#T f 20230614_214704-ES-1 20230614-ES-1
#T f 20230621_194927-ES-1 20230621-ES-1
#T f 20230621_194951-ES-2 20230621-ES-2
#T f 20230621_210204-ES-3 20230621-ES-3
#T f 20230621_210213-ES-4 20230621-ES-4
#T
#T f 20230628_205131-ES-1 20230628-ES-1
#T f 20230628_205213-ES-2 20230628-ES-2
#T f 20230628_210626-ES-3 20230628-ES-3
#T
#T f 20230705_194158-ES-1 20230705-ES-1
#T
#T cd ~/2023.1-ES/
#T 'ls' 2023*.jpg | sort | sed -e 's/jpg/djvu/g' | tee /tmp/odjvus
#T djvm -create ES-quadros.djvu $(cat /tmp/odjvus)
#T make         ES-quadros.pdf
#T # (find-pdf-page  "~/2023.1-ES/ES-quadros.pdf" 41)
#T # (find-sh0 "cp -v ~/2023.1-ES/ES-quadros.pdf /tmp/")
#T # (find-pdf-page         "/tmp/ES-quadros.pdf" 32)
#T
#T rsync -avvz -e ssh \
#T   *.jpg *.png ES-quadros.pdf \
#T     edrx@linode:slow_html/2023.1-ES
#T rsync -avvz -e ssh \
#T   *.jpg *.png ES-quadros.pdf \
#T     edrx@linode:public_html/2023.1-ES
#T 
#T # (find-linodesfile "2023.1-ES/")
#T # (find-linodepfile "2023.1-ES/")
#T http://anggtwu.net/2023.1-ES/ES-quadros.pdf

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


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