-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (36 loc) · 1.07 KB
/
Makefile
File metadata and controls
51 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ae := asdf2017
src = asdf2017.scrbl utils.rkt bibliography.scrbl
# asdf3.scrbl old-bug.scrbl history.scrbl tutorial.scrbl
#export PLTCOLLECTS:=$(shell pwd):${PLTCOLLECTS}
all: asdf2017.PDF
ann: asdf2017-annotated.PDF
html: ${ae}.html
pdf: ${ae}.pdf
PDF: pdf ${ae}.PDF
install: asdf2017.html asdf2017.pdf els2017-slides.pdf
rsync -av --delete $^ *.js *.css ~/files/asdf2017/
rsync -av --delete ~/files/asdf2017/ bespin:files/asdf2017/
%.W: %.html
w3m -T text/html $<
%.wc: %.html
donuts.pl unhtml < $< | wc
%.PDF: %.pdf
evince -f -i $${p:-1} $<
%.pdf: %.scrbl ${src}
time scribble --dest-name $@ --pdf $<
${ae}.html: ${ae}.scrbl ${src}
%.html: %.scrbl utils.rkt bibliography.scrbl
time scribble --dest-name $@ --html $<
%.latex: %.scrbl ${src}
time scribble --latex --dest tmp $<
clean:
rm -f *.pdf *.html *.tex *.css *.js
rm -rf tmp
mrproper:
git clean -xfd
rsync: html pdf
rsync -av ${ae}.html ${ae}.pdf common-lisp.net:~frideau/public_html/asdf2017/
els:
slideshow --start $${p:-1} els2017-slides.ss
els2017-slides.pdf: els2017-slides.ss
slideshow --pdf -o $@ $<