Some design and some content, Also Makefile

This commit is contained in:
Jonas Zeunert
2024-05-07 14:16:06 +02:00
parent 96d26b78ab
commit 49f1f015df
18 changed files with 349 additions and 2 deletions

29
Makefile Normal file
View File

@@ -0,0 +1,29 @@
.PHONY: mkdist clean
all: clean index now links
rm -rf dist/template.html
watch:
while sleep 1 ; do \
find ./src -iname '*.html' -o -name "*.css" \
| entr -d make -f ./Makefile ; \
done
mkdist:
mkdir -p dist
template: mkdist src/start.html src/nav.html src/side.html
cp -r src/styles dist
cat src/start.html src/nav.html src/side.html > dist/template.html
index: template src/pages/index.html
cat dist/template.html src/pages/index.html src/end.html > dist/index.html
now: template src/pages/now.html
cat dist/template.html src/pages/now.html src/end.html > dist/now.html
links: template src/pages/links.html
cat dist/template.html src/pages/links.html src/end.html > dist/links.html
clean:
rm -rf dist