summaryrefslogtreecommitdiff
path: root/bin/Makefile
blob: 10ac0d1e64e16db8d1b7afa6d266f4f0db5603fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: rebuild nikola build

rebuild:
	rm -rf git dump
	./export.py
	rm git/pages/updates.md

nikola:
	venv/bin/nikola init -q git
	cp site/conf.py git
	cd git; nikola plugin -i localsearch
	cd git; nikola theme -n ccc --parent=bootstrap4
	cp -r site/themes/ccc git/themes/
	cp -r site/data site/shortcodes git/
	cp -r site/index.rst site/index.en.rst site/search.html site/cpu site/themen git/pages/

build:
	cd git; nikola build --backend=sqlite3