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

# (find-angg "2017.2-GA/Makefile")
# (find-angg "2022.2-LA/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-LA
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????_LA???_?.djvu
	djvm      -create $(THIS).djvu 2023????_LA???_?.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 20230403_175448_LA-1 20230403_LA-1
#T f 20230403_175456_LA-2 20230403_LA-2
#T f 20230417_175151-LA-1 20230417-LA-1
#T f 20230417_175158-LA-2 20230417-LA-2
#T f 20230417_175716-LA-3 20230417-LA-3
#T f 20230424_175909-LA-1 20230424-LA-1
#T f 20230424_175916-LA-2 20230424-LA-2
#T f 20230508_174849-LA-1 20230508-LA-1
#T f 20230515_180608-LA-1 20230515-LA-1
#T f 20230515_180617-LA-2 20230515-LA-2
#T f 20230522_175850-LA-1 20230522-LA-1
#T f 20230529_174601-LA-1 20230529-LA-1
#T f 20230605_165902-LA-1 20230605-LA-1
#T f 20230605_165907-LA-2 20230605-LA-2
#T f 20230605_180038-LA-3 20230605-LA-3
#T f 20230612_164547-LA-1 20230612-LA-1
#T f 20230612_171249-LA-2 20230612-LA-2
#T f 20230612_171304-LA-3 20230612-LA-3
#T f 20230612_175642-LA-4 20230612-LA-4
#T f 20230612_175650-LA-5 20230612-LA-5
#T f 20230619_170801-LA-1 20230619-LA-1
#T f 20230619_170810-LA-2 20230619-LA-2
#T f 20230619_175031-LA-3 20230619-LA-3
#T
#T f 20230626_170147-LA-1 20230626-LA-1
#T f 20230626_171843-LA-2 20230626-LA-2
#T f 20230626_175148-LA-3 20230626-LA-3
#T
#T f 20230703_174538-LA-1 20230703-LA-1
#T f 20230703_174544-LA-2 20230703-LA-2
#T f 20230703_175449-LA-3 20230703-LA-3
#T
#T cd ~/2023.1-LA/
#T 'ls' 2023*.jpg | sort | sed -e 's/jpg/djvu/g' | tee /tmp/odjvus
#T djvm -create LA-quadros.djvu $(cat /tmp/odjvus)
#T make         LA-quadros.pdf
#T # (find-pdf-page "~/2023.1-LA/LA-quadros.pdf" 27)
#T
#T rsync -avvz -e ssh \
#T   *.jpg *.png LA-quadros.pdf \
#T     edrx@linode:slow_html/2023.1-LA
#T rsync -avvz -e ssh \
#T   *.jpg *.png LA-quadros.pdf \
#T     edrx@linode:public_html/2023.1-LA
#T 
#T # (find-linodesfile "2023.1-LA/")
#T # (find-linodepfile "2023.1-LA/")
#T http://anggtwu.net/2023.1-LA/LA-quadros.pdf

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


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