Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
# This file: # http://angg.twu.net/2022.2-C3/Makefile.html # http://angg.twu.net/2022.2-C3/Makefile # (find-angg "2022.2-C3/Makefile") # Author: Eduardo Ochs <eduardoochs@gmail.com> # # (defun e () (interactive) (find-angg "2022.2-C3/Makefile")) # (find-angg "2017.2-GA/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 = 2022.2-C3 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) # djvm -create $(THIS).djvu $(DJVUS) # echo djvm -create $(THIS).djvu 2022????_C2?.djvu # djvm -create $(THIS).djvu 2022????_C2?.djvu echo djvm -create $(THIS).djvu 2022????_C2???_?.djvu djvm -create $(THIS).djvu 2022????_C2???_?.djvu 2022.2-C2-peq.djvu: $(DJVUS) echo djvm -create $@ 2022????_C2-C1_?.djvu djvm -create $@ 2022????_C2-C1_?.djvu 2022.2-C2-gde.djvu: $(DJVUS) echo djvm -create $@ 2022????_C2-E1_?.djvu djvm -create $@ 2022????_C2-E1_?.djvu pdf: $(THIS).pdf peq.pdf: 2022.2-C2-peq.pdf gde.pdf: 2022.2-C2-gde.pdf pdfs: pdf peq.pdf gde.pdf %.pdf: %.djvu ddjvu -format=pdf $< $@ # (find-fline "~/2022.2-quadros/") # See: (find-eepitch-intro "3.3. `eepitch-preprocess-line'") # (setq eepitch-preprocess-regexp "^") # (setq eepitch-preprocess-regexp "^#T ?") # (find-fline "~/2022.2-quadros/") # (find-fline "~/2022.2-C3/") # (find-dired-re "~/2022.2-C3/" "") # #T * (eepitch-shell) #T * (eepitch-kill) #T * (eepitch-shell) #T * (eepitch-password-prompt 'no) #T f () { cp -av ~/2022.2-quadros/$1.jpg $2.jpg #T make $2.png $2.djvu #T make $2.pdf #T } #T f 20220824_160404-C3 20220824-C3-1 #T f 20220826_160618-C3 20220826-C3-1 #T f 20220831_160107-C3 20220831-C3-1 #T f 20220902_160438-C3 20220902-C3-1 #T f 20220921_155701-C3 20220921-C3-1 #T f 20220923_155541-C3 20220923-C3-1 #T f 20220927_160741-C3 20220927-C3-1 #T f 20220928_155727-C3 20220928-C3-1 #T f 20220930_155909-C3 20220930-C3-1 #T f 20221004_161921-C3 20221004-C3-1 #T f 20221005_160313-C3-1 20221005-C3-1 #T f 20221005_160351-C3-2 20221005-C3-2 #T f 20221007_161106-C3 20221007-C3-1 #T f 20221014_155956-C3 20221014-C3-1 #T f 20221025_162700-C3 20221025-C3-1 #T f 20221026_160410-C3 20221026-C3-1 #T f 20221104_150601-C3-1 20221104-C3-1 #T f 20221104_160627-C3-2 20221104-C3-2 #T f 20221109_160440-C3 20221109-C3-1 #T f 20221116_155642-C3-1 20221116-C3-1 #T f 20221116_155655-C3-2 20221116-C3-2 #T f 20221118_161042-C3 20221118-C3-1 #T f 20221121_171638-C3 20221121-C3-1 #T f 20221123_155313-C3-1 20221123-C3-1 #T f 20221123_155329-C3-2 20221123-C3-2 #T f 20221125_152619-C3-1 20221125-C3-1 #T f 20221125_160126-C3-2 20221125-C3-2 #T #T f 20221130_170905-C3 20221130-C3-1 #T #T f 20221206_172329_C3 20221206_C3-1 #T f 20221206_180113_C3 20221206_C3-2 #T f 20221207_180928_C3 20221207_C3-1 #T #T f 20221214_175306-C3 20221214-C3-1 #T #T cd ~/2022.2-C3/ #T 'ls' 2022*.jpg | sort | sed -e 's/jpg/djvu/g' | tee /tmp/odjvus #T make $(cat /tmp/odjvus) #T djvm -create C3-quadros.djvu $(cat /tmp/odjvus) #T make C3-quadros.pdf #T # (find-pdf-page "~/2022.2-C3/C3-quadros.pdf" 16) #T #T (find-es "cvs" "rsync_angg_slow_html") #T ~/EXPECT/autopasswd \ #T rsync -avvz -e ssh \ #T *.jpg *.png C3-quadros.pdf \ #T edrx@angg.twu.net:slow_html/2022.2-C3 #T ~/EXPECT/autopasswd \ #T rsync -avvz -e ssh \ #T *.jpg *.png C3-quadros.pdf \ #T edrx@angg.twu.net:public_html/2022.2-C3 #T #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:slow_html/2022.2-C3 #T rsync -avvz -e ssh \ #T *.jpg *.png C2-quadros.pdf \ #T edrx@linode:public_html/2022.2-C3 #T #T * (eepitch-Twu) #T * (eepitch-kill) #T * (eepitch-Twu) #T cd ~/public_html/ #T makepageindexhtmls #T #T # http://angg.twu.net/2022.2-C3/ #T # http://angg.twu.net/2022.2-C3/C3-quadros.pdf # Local Variables: # coding: utf-8-unix # End: