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-C2/Makefile.html # http://anggtwu.net/2024.1-C2/Makefile # (find-angg "2024.1-C2/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-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.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 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/") # 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_160409-C2-1 20240318-C2-1 #T f 20240318_160413-C2-2 20240318-C2-2 #T f 20240319_163736-C2-4 20240319-C2-4 #T f 20240319_163731-C2-3 20240319-C2-3 #T f 20240319_154239-C2-2 20240319-C2-2 #T f 20240319_154234-C2-1 20240319-C2-1 #T f 20240320_110243-C2-1 20240320-C2-1 #T f 20240320_110249-C2-2 20240320-C2-2 #T f 20240325_155713-C2-1 20240325-C2-1 #T f 20240325_155720-C2-2 20240325-C2-2 #T f 20240326_162554-C2-1 20240326-C2-1 #T f 20240327_105853-C2-1 20240327-C2-1 #T f 20240327_105858-C2-2 20240327-C2-2 #T f 20240401_160116-C2-1 20240401-C2-1 #T f 20240401_160126-C2-2 20240401-C2-2 #T f 20240402_152654-C2-1 20240402-C2-1 #T f 20240402_152701-C2-2 20240402-C2-2 #T f 20240402_154740-C2-3 20240402-C2-3 #T f 20240402_154746-C2-4 20240402-C2-4 #T f 20240402_162702-C2-5 20240402-C2-5 #T f 20240402_162706-C2-6 20240402-C2-6 #T f 20240403_102342-C2-1 20240403-C2-1 #T f 20240403_102349-C2-2 20240403-C2-2 #T f 20240403_110349-C2-3 20240403-C2-3 #T f 20240403_110351-C2-4 20240403-C2-4 #T f 20240403_110357-C2-5 20240403-C2-5 #T f 20240408_151553-C2-1 20240408-C2-1 #T f 20240408_151559-C2-2 20240408-C2-2 #T f 20240408_154827-C2-3 20240408-C2-3 #T f 20240408_154830-C2-4 20240408-C2-4 #T f 20240408_160343-C2-5 20240408-C2-5 #T f 20240408_160349-C2-6 20240408-C2-6 #T f 20240409_150836-C2-1 20240409-C2-1 #T f 20240409_150841-C2-2 20240409-C2-2 #T f 20240409_151955-C2-3 20240409-C2-3 #T f 20240409_152000-C2-4 20240409-C2-4 #T f 20240416_153520-C2-1 20240416-C2-1 #T f 20240416_153527-C2-2 20240416-C2-2 #T f 20240416_160034-C2-3 20240416-C2-3 #T f 20240416_160039-C2-4 20240416-C2-4 #T f 20240417_104344-C2-1 20240417-C2-1 #T f 20240417_104352-C2-2 20240417-C2-2 #T f 20240417_105527-C2-3 20240417-C2-3 #T f 20240417_105532-C2-4 20240417-C2-4 #T f 20240424_095850-C2-1 20240424-C2-1 #T f 20240424_095858-C2-2 20240424-C2-2 #T f 20240424_101507-C2-3 20240424-C2-3 #T f 20240424_101512-C2-4 20240424-C2-4 #T f 20240424_112048-C2-5 20240424-C2-5 #T f 20240424_112056-C2-6 20240424-C2-6 #T f 20240701_160300-C2-1 20240701-C2-1 #T f 20240701_160332-C2-2 20240701-C2-2 #T f 20240702_160312-C2-1 20240702-C2-1 #T f 20240703_111039-C2-1 20240703-C2-1 #T f 20240703_111048-C2-2 20240703-C2-2 #T f 20240708_161108-C2-1 20240708-C2-1 #T f 20240708_161120-C2-2 20240708-C2-2 #T f 20240709_152525-C2-1 20240709-C2-1 #T f 20240709_152536-C2-2 20240709-C2-2 #T f 20240709_162813-C2-3 20240709-C2-3 #T f 20240709_162819-C3-4 20240709-C3-4 #T f 20240710_110246-C2-1 20240710-C2-1 #T f 20240715_160027-C2-1 20240715-C2-1 #T f 20240715_160032-C2-2 20240715-C2-2 #T f 20240716_160714-C2-1 20240716-C2-1 #T f 20240716_160721-C2-2 20240716-C2-2 #T f 20240717_110610-C2-1 20240717-C2-1 #T f 20240717_110616-C2-2 20240717-C2-2 #T f 20240722_155151-C2-1 20240722-C2-1 #T f 20240722_155156-C2-2 20240722-C2-2 #T f 20240722_160743-C2-3 20240722-C2-3 #T f 20240724_105315-C2-1 20240724-C2-1 #T f 20240724_105322-C2-2 20240724-C2-2 #T f 20240729_153024-C2-1 20240729-C2-1 #T f 20240729_153031-C2-2 20240729-C2-2 #T f 20240729_161030-C2-3 20240729-C2-3 #T f 20240729_161038-C2-4 20240729-C2-4 #T f 20240730_155201-C2-1 20240730-C2-1 #T f 20240730_155206-C2-2 20240730-C2-2 #T f 20240730_161310-C2-3 20240730-C2-3 #T f 20240731_102804-C2-1 20240731-C2-1 #T f 20240731_102808-C2-2 20240731-C2-2 #T f 20240731_110932-C2-3 20240731-C2-3 #T f 20240805_160422-C2-1 20240805-C2-1 #T f 20240805_160431-C2-2 20240805-C2-2 #T f 20240806_155439-C2-1 20240806-C2-1 #T f 20240806_155448-C2-2 20240806-C2-2 #T f 20240806_162123-C2-3 20240806-C2-3 #T f 20240806_162133-C2-4 20240806-C2-4 #T f 20240807_103408-C2-1 20240807-C2-1 #T f 20240807_103413-C2-2 20240807-C2-2 #T f 20240807_110650-C2-3 20240807-C2-3 #T f 20240812_160925-C2-1 20240812-C2-1 #T f 20240812_160930-C2-2 20240812-C2-2 #T f 20240813_163328-C2-1 20240813-C2-1 #T f 20240813_163333-C2-2 20240813-C2-2 #T f 20240814_110220-C2-1 20240814-C2-1 #T f 20240814_110225-C2-2 20240814-C2-2 #T #T f 20240819_175245-C2-1 20240819-C2-1 #T #T cd ~/2024.1-C2/ #T 'ls' 2024*.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.1-C2/C2-quadros.pdf" 41) #T # (find-fline "~/TH/2024.1-C2.blogme") #T #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:slow_html/2024.1-C2 #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:public_html/2024.1-C2 #T #T # (find-linodesfile "2024.1-C2/") #T # (find-linodepfile "2024.1-C2/") #T http://anggtwu.net/2024.1-C2/C2-quadros.pdf #T http://anggtwu.net/2024.1-C2.html #T # (c2q) #T * (eepitch-linode) #T * (eepitch-kill) #T * (eepitch-linode) #T cd ~/public_html/ #T makepageindexhtmls #T #T # http://anggtwu.net/2024.1-C2/ #T # http://anggtwu.net/2024.1-C2/C2-quadros.pdf # Local Variables: # coding: utf-8-unix # End: