summaryrefslogtreecommitdiff
path: root/Makefile
blob: c2399c7324e36350d6984a49cfe1d129f92001da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all :
	find site -name "*.html" -printf "https://thomaslabs.org/%P\n" > site/sitemap

.PHONY : svg
svg :
	latex -output-directory build -interaction nonstopmode src/svg/fft.tex
	dvisvgm build/fft.dvi --no-fonts --exact-bbox --output=site/svg/fft.svg

.PHONY : clean
clean :
	rm -rf site/svg/* site/img-small site/math site/programs site/z80 site/index.html site/privacy.html site/arm site/sitemap

.PHONY : upload
upload :
	rsync -Pa --delete "site/" "thomas@gamma:/srv/web/thomaslabs/"