From 959576ad96a5a7a53cb9b9f6c5e5fbb6ecff1bda Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 27 May 2020 01:14:11 +0200 Subject: Remove circular dependency on makefile --- bin/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bin/Makefile (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile new file mode 100644 index 00000000..10ac0d1e --- /dev/null +++ b/bin/Makefile @@ -0,0 +1,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 -- cgit v1.2.3