-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 1007 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 1007 Bytes
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
course = main
.PHONY : all clean test scribble zips push
all: clean $(course)
test: clean
raco test .
$(course): scribble zips
zips:
mkdir -p $(course)/code/
cd `racket -e '(require pkg/lib) (display (path->string (pkg-directory "langs")))'` ; \
tar -c `git ls-files a86 abscond blackmail con dupe dodger evildoer extort fraud hustle hoax iniquity iniquity-gc jig knock loot mug mountebank neerdowell outlaw` | \
(cd ../www/main/code ; tar -x ; \
for f in abscond blackmail con dupe dodger evildoer extort fraud hustle hoax iniquity iniquity-gc jig knock loot mug mountebank neerdowell outlaw ; do \
zip $${f}.zip -r $${f}/ ; \
done )
scribble:
raco scribble --htmls \
++style css/extra.css \
++style css/fancyverb.css \
++extra js/accessibility.js \
++xref-in setup/xref load-collections-xref \
--redirect-main http://docs.racket-lang.org/ \
$(course).scrbl
push:
rsync -rvzp main/ dvanhorn@junkfood.cs.umd.edu:/fs/www/class/fall2025/cmsc430/
clean:
rm -rf $(course)