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-C2/Makefile.html # http://anggtwu.net/2024.2-C2/Makefile # (find-angg "2024.2-C2/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-C2/Makefile")) # (defun o () (interactive) (find-angg "2023.2-C2/Makefile")) # (defun eo () (interactive) (find-2a '(e) '(o))) # # Skel: (find-semestre-MM-quadros-links "24" "1" "C2" "23" "2") # Template: (find-angg "MAKE/2023.1-MM-template") # (find-angg "2017.2-GA/Makefile") # (find-angg "2023.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 = 2024.2-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 2024????_C2???_?.djvu djvm -create $(THIS).djvu 2024????_C2???_?.djvu pdf: $(THIS).pdf %.pdf: %.djvu ddjvu -format=pdf $< $@ # (find-fline "~/2023.2-quadros/") # (find-fline "~/2024.1-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_151310-C2-1 20240923-C2-1 #T f 20240923_151317-C2-2 20240923-C2-2 #T f 20240924_152131-C2-1 20240924-C2-1 #T f 20240924_153429-C2-2 20240924-C2-2 #T f 20240924_155137-C2-3 20240924-C2-3 #T f 20240924_160602-C2-4 20240924-C2-4 #T f 20240925_110446-C2-1 20240925-C2-1 #T f 20240925_110453-C2-2 20240925-C2-2 #T f 20240930_160830-C2-1 20240930-C2-1 #T f 20240930_160836-C2-2 20240930-C2-2 #T f 20241001_152510-C2-1 20241001-C2-1 #T f 20241001_152518-C2-2 20241001-C2-2 #T f 20241001_160515-C2-3 20241001-C2-3 #T f 20241001_160521-C2-4 20241001-C2-4 #T f 20241002_113156-C2-1 20241002-C2-1 #T f 20241002_113202-C2-2 20241002-C2-2 #T f 20241007_161814-C2-1 20241007-C2-1 #T f 20241008_164001-C2-1 20241008-C2-1 #T f 20241008_164009-C2-2 20241008-C2-2 #T f 20241009_103007-C2-1 20241009-C2-1 #T f 20241009_103016-C2-2 20241009-C2-2 #T f 20241009_111711-C2-3 20241009-C2-3 #T f 20241009_111717-C2-4 20241009-C2-4 #T f 20241021_152258-C2-1 20241021-C2-1 #T f 20241021_152304-C2-2 20241021-C2-2 #T f 20241021_161856-C2-3 20241021-C2-3 #T f 20241021_161906-C2-4 20241021-C2-4 #T f 20241022_161229-C2-1 20241022-C2-1 #T f 20241022_161304-C2-2 20241022-C2-2 #T f 20241023_111954-C2-1 20241023-C2-1 #T f 20241023_112002-C2-2 20241023-C2-2 #T f 20241029_153912-C2-1 20241029-C2-1 #T f 20241029_153918-C2-2 20241029-C2-2 #T f 20241029_160800-C2-3 20241029-C2-3 #T f 20241030_104720-C2-1 20241030-C2-1 #T f 20241030_104726-C2-2 20241030-C2-2 #T f 20241030_110632-C2-3 20241030-C2-3 #T f 20241030_110638-C2-4 20241030-C2-4 #T f 20241104_154147-C2-1 20241104-C2-1 #T f 20241104_154156-C2-2 20241104-C2-2 #T f 20241104_161615-C2-3 20241104-C2-3 #T f 20241104_161622-C2-4 20241104-C2-4 #T f 20241105_152830-C2-1 20241105-C2-1 #T f 20241105_152834-C2-2 20241105-C2-2 #T f 20241105_160428-C2-3 20241105-C2-3 #T f 20241105_160431-C2-4 20241105-C2-4 #T f 20241106_111737-C2-1 20241106-C2-1 #T f 20241106_111746-C2-2 20241106-C2-2 #T f 20241111_162058-C2-1 20241111-C2-1 #T f 20241111_162111-C2-2 20241111-C2-2 #T f 20241112_150534-C2-1 20241112-C2-1 #T f 20241112_150541-C2-2 20241112-C2-2 #T f 20241112_160744-C2-3 20241112-C2-3 #T f 20241112_160759-C2-4 20241112-C2-4 #T f 20241113_103315-C2-1 20241113-C2-1 #T f 20241113_103320-C2-2 20241113-C2-2 #T f 20241113_110401-C2-3 20241113-C2-3 #T f 20241113_110410-C2-4 20241113-C2-4 #T f 20241118_153529-C2-1 20241118-C2-1 #T f 20241118_153535-C2-2 20241118-C2-2 #T f 20241118_161924-C2-3 20241118-C2-3 #T f 20241118_161931-C2-4 20241118-C2-4 #T f 20241119_161308-C2-1 20241119-C2-1 #T f 20241119_161315-C2-2 20241119-C2-2 #T f 20241125_160444-C2-1 20241125-C2-1 #T f 20241125_160453-C2-2 20241125-C2-2 #T f 20241126_163537-C2-1 20241126-C2-1 #T f 20241127_111313-C2-1 20241127-C2-1 #T f 20241202_151846-C2-1 20241202-C2-1 #T f 20241202_151851-C2-2 20241202-C2-2 #T f 20241202_160749-C2-3 20241202-C2-3 #T f 20241202_160758-C2-4 20241202-C2-4 #T f 20241203_161044-C2-1 20241203-C2-1 #T f 20241203_161055-C2-2 20241203-C2-2 #T f 20241204_105829-C2-1 20241204-C2-1 #T f 20241204_105835-C2-2 20241204-C2-2 #T f 20241204_110501-C2-3 20241204-C2-3 #T f 20241210_171926-C2-1 20241210-C2-1 #T f 20241211_104336-C2-1 20241211-C2-1 #T f 20241211_104344-C2-2 20241211-C2-2 #T f 20241211_111116-C2-3 20241211-C2-3 #T f 20241211_111123-C2-4 20241211-C2-4 #T f 20241216_154857-C2-1 20241216-C2-1 #T f 20241216_154917-C2-2 20241216-C2-2 #T f 20241216_160711-C2-3 20241216-C2-3 #T f 20241216_160719-C2-4 20241216-C2-4 #T f 20241217_153501-C2-1 20241217-C2-1 #T f 20241217_153510-C2-2 20241217-C2-2 #T f 20241217_163524-C2-3 20241217-C2-3 #T f 20241217_163533-C2-4 20241217-C2-4 #T f 20241218_110438-C2-1 20241218-C2-1 #T f 20241218_110446-C2-2 20241218-C2-2 #T f 20250106_153619-C2-1 20250106-C2-1 #T f 20250106_153625-C2-2 20250106-C2-2 #T f 20250106_161631-C2-3 20250106-C2-3 #T f 20250106_161642-C2-4 20250106-C2-4 #T #T f 20250107_151820-C2-1 20250107-C2-1 #T f 20250107_151827-C2-2 20250107-C2-2 #T f 20250107_165350-C2-3 20250107-C2-3 #T f 20250107_165400-C2-4 20250107-C2-4 #T #T f 20250108_113920-C2-1 20250108-C2-1 #T f 20250108_113927-C2-2 20250108-C2-2 #T #T cd ~/2024.2-C2/ #T 'ls' 202{4,5}*.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 "~/2024.2-C2/C2-quadros.pdf" 41) #T # (find-fline "~/TH/2024.2-C2.blogme") #T #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:slow_html/2024.2-C2 #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:public_html/2024.2-C2 #T #T # (find-linodesfile "2024.2-C2/") #T # (find-linodepfile "2024.2-C2/") #T http://anggtwu.net/2024.2-C2/C2-quadros.pdf #T http://anggtwu.net/2024.2-C2.html #T # (c2q) #T # (find-2a nil '(find-angg ".emacs" "c2q242")) #T # (find-2a nil '(find-angg ".emacs")) #T # (find-2a nil '(find-TH "2024.2-C2" "agora")) #T # (find-2a nil '(find-TH "2024.2-C2")) #T * (eepitch-linode) #T * (eepitch-kill) #T * (eepitch-linode) #T cd ~/public_html/ #T makepageindexhtmls #T #T # http://anggtwu.net/2024.2-C2/ #T # http://anggtwu.net/2024.2-C2/C2-quadros.pdf # Local Variables: # coding: utf-8-unix # End: