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-C2/Makefile.html
#   http://anggtwu.net/2023.1-C2/Makefile
#          (find-angg "2023.1-C2/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-C4/Makefile"))
# (defun m7 () (interactive) (find-anggfile "2023.1-LA/Makefile"))
# (find-copy-quadros-links)
#
# (defun e () (interactive) (find-angg "2023.1-C2/Makefile"))
# (defun o () (interactive) (find-angg "2022.2-C2/Makefile"))
# (defun eo () (interactive) (find-2a '(e) '(o)))
#
# Skel: (find-semestre-MM-quadros-links "23" "1" "C4"  "22" "2")

# (find-angg "2017.2-GA/Makefile")
# (find-angg "2022.2-C2/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-C2
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????_C2???_?.djvu
	djvm      -create $(THIS).djvu 2023????_C2???_?.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 20230404_155202-C2-1 20230404-C2-1
#T f 20230404_155211-C2-2 20230404-C2-2
#T f 20230411_155833-C2-1 20230411-C2-1
#T f 20230411_155842-C2-2 20230411-C2-2
#T f 20230414_160225-C2-1 20230414-C2-1
#T f 20230414_160242-C2-2 20230414-C2-2
#T f 20230418_145459-C2-1 20230418-C2-1
#T f 20230418_145532-C2-2 20230418-C2-2
#T f 20230418_154805-C2-3 20230418-C2-3
#T f 20230418_154819-C2-4 20230418-C2-4
#T f 20230418_160421-C2-5 20230418-C2-5
#T f 20230418_160427-C2-6 20230418-C2-6
#T f 20230425_154006-C2-1 20230425-C2-1
#T f 20230425_154021-C2-2 20230425-C2-2
#T f 20230425_160126-C2-3 20230425-C2-3
#T f 20230428_161020-C2-1 20230428-C2-1
#T f 20230428_161033-C2-2 20230428-C2-2
#T f 20230502_151128-C2-1 20230502-C2-1
#T f 20230502_151137-C2-2 20230502-C2-2
#T f 20230502_155624-C2-3 20230502-C2-3
#T f 20230502_155639-C2-4 20230502-C2-4
#T f 20230505_153534-C2-1 20230505-C2-1
#T f 20230505_160307-C2-2 20230505-C2-2
#T f 20230509_154816-C2-1 20230509-C2-1
#T f 20230509_154843-C2-2 20230509-C2-2
#T f 20230512_160121-C2-1 20230512-C2-1
#T f 20230512_160138-C2-2 20230512-C2-2
#T f 20230516_160452-C2-1 20230516-C2-1
#T f 20230516_160511-C2-2 20230516-C2-2
#T f 20230519_160617-C2-1 20230519-C2-1
#T f 20230519_160625-C2-2 20230519-C2-2
#T f 20230523_155949-C2-1 20230523-C2-1
#T f 20230523_160012-C2-2 20230523-C2-2
#T f 20230526_155931-C2-1 20230526-C2-1
#T f 20230526_155942-C2-2 20230526-C2-2
#T f 20230530_160230-C2-1 20230530-C2-1
#T f 20230602_153516-C2-1 20230602-C2-1
#T f 20230602_153535-C2-2 20230602-C2-2
#T f 20230606_160547-C2-1 20230606-C2-1
#T f 20230606_160601-C2-2 20230606-C2-2
#T f 20230613_160711-C2-1 20230613-C2-1
#T f 20230613_160731-C2-2 20230613-C2-2
#T f 20230616_161817-C2-1 20230616-C2-1
#T f 20230616_161828-C2-2 20230616-C2-2
#T f 20230616_171611-C2-3 20230616-C2-3
#T f 20230620_150839-C2-1 20230620-C2-1
#T f 20230620_150849-C2-2 20230620-C2-2
#T f 20230620_160127-C2-3 20230620-C2-3
#T f 20230620_160135-C2-4 20230620-C2-4
#T f 20230623_155612-C2-1 20230623-C2-1
#T f 20230623_155622-C2-2 20230623-C2-2
#T f 20230623_163931-C2-3 20230623-C2-3
#T f 20230627_160738-C2-1 20230627-C2-1
#T f 20230627_160746-C2-2 20230627-C2-2
#T f 20230630_162216-C2-1 20230630-C2-1
#T f 20230630_162225-C2-2 20230630-C2-2
#T f 20230630_170154-C2-3 20230630-C2-3
#T f 20230630_170203-C2-4 20230630-C2-4
#T
#T f 20230704_150049-C2-1 20230704-C2-1
#T f 20230704_150055-C2-2 20230704-C2-2
#T f 20230704_151617-C2-3 20230704-C2-3
#T f 20230704_151620-C2-4 20230704-C2-4
#T f 20230704_160149-C2-5 20230704-C2-5
#T f 20230704_160153-C2-6 20230704-C2-6
#T
#T cd ~/2023.1-C2/
#T 'ls' 2023*.jpg | sort | sed -e 's/jpg/djvu/g' | tee /tmp/odjvus
#T djvm -create C2-quadros.djvu $(cat /tmp/odjvus)
#T make         C2-quadros.pdf
#T # (find-pdf-page "~/2023.1-C2/C2-quadros.pdf" 59)
#T
#T rsync -avvz -e ssh \
#T   *.jpg *.png C2-quadros.pdf \
#T     edrx@linode:slow_html/2023.1-C2
#T rsync -avvz -e ssh \
#T   *.jpg *.png C2-quadros.pdf \
#T     edrx@linode:public_html/2023.1-C2
#T 
#T # (find-linodesfile "2023.1-C2/")
#T # (find-linodepfile "2023.1-C2/")
#T http://anggtwu.net/2023.1-C2/C2-quadros.pdf

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

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



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