From 61b5ce20f25c5785e41574998a12c6d06eb05a5e Mon Sep 17 00:00:00 2001 From: Thomas Albers Date: Wed, 8 Mar 2023 23:43:00 +0100 Subject: Restructure build system and directory structures --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c2399c7 --- /dev/null +++ b/Makefile @@ -0,0 +1,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/" -- cgit v1.2.3