Source code of my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
personal_website/Makefile

28 lines
820 B

markdown_to_html_outputs := $(patsubst content/%.md,build/%/index.html,$(wildcard content/*.md))
all: $(markdown_to_html_outputs) build/styles.css ~/Sync/DatenVolker/Bewerbungen/DefaultResume/resume.pdf
./main.py
cp -r copy_to_build/* build/
cp ~/Sync/DatenVolker/Bewerbungen/DefaultResume/resume.pdf build/resume.pdf
build:
mkdir -p build
build/%/:
mkdir -p $@
build/%/index.html: content/%.md build/%/ single.nfhtml addsec.py
pandoc --template=single.nfhtml --filter ./addsec.py --table-of-contents $< -o $@
build/styles.css: styles.scss
scss styles.scss build/styles.css
deploy: all
rm build/styles.css.map || true
lychee build/
cp -r build/* ../Volker-Weissmann.github.io
./minify.sh
cd ../Volker-Weissmann.github.io && git add -A && git commit -m "deploy" && git push
clean:
rm -r build || true