2021-11-03 19:33:17 +01:00
|
|
|
STYLESHEET:=volumetric-regimes.css
|
2021-09-01 13:07:54 +02:00
|
|
|
|
2021-09-01 16:50:02 +02:00
|
|
|
.PHONY: css
|
|
|
|
|
2021-06-16 16:46:25 +02:00
|
|
|
all: run
|
|
|
|
|
2021-09-01 13:07:54 +02:00
|
|
|
install:
|
|
|
|
python3 -m venv venv
|
|
|
|
./venv/bin/pip3 install etherpump
|
|
|
|
./venv/bin/etherpump init
|
|
|
|
|
2021-06-16 16:46:25 +02:00
|
|
|
run:
|
|
|
|
python3 -m http.server
|
|
|
|
|
2021-09-01 13:07:54 +02:00
|
|
|
update: wiki css
|
|
|
|
|
|
|
|
wiki:
|
|
|
|
# ---
|
|
|
|
# update the materials from the wiki, save it as Unfolded.html
|
2021-06-16 16:46:25 +02:00
|
|
|
python3 update.py
|
2021-11-03 19:33:17 +01:00
|
|
|
@echo "Pulling updates from the wiki: Unfolded (wiki) --> Unfolded.html (file)"
|
2021-09-01 13:07:54 +02:00
|
|
|
|
|
|
|
css:
|
|
|
|
# ---
|
|
|
|
# sync the CSS on the pad with the local print.css file
|
|
|
|
./venv/bin/etherpump gettext $(STYLESHEET) > ./css/print.css
|
2021-11-03 19:33:17 +01:00
|
|
|
@echo "Saving CSS: $(STYLESHEET) (pad) --> print.css (file)"
|
|
|
|
|
2021-11-10 23:14:54 +01:00
|
|
|
multi:
|
|
|
|
# ---
|
|
|
|
# multistamp Multi Remix on top of the pdf
|
|
|
|
@pdfunite multi-remix/multi-remix.pdf multi-remix/multi-remix-empty.pdf multi-remix/multi-remix.pdf multi-remix/multi-remix-empty.pdf multi-remix/multi-remix-stamp.pdf
|
|
|
|
@pdftk Unfolded.pdf multistamp multi-remix/multi-remix-stamp.pdf output Unfolded-with-Multi.pdf
|
|
|
|
|
2021-06-16 16:46:25 +02:00
|
|
|
upload:
|
|
|
|
scp -r Unfolded.html css js fonts varia:public_html/volumetric-regimes/
|
|
|
|
|
|
|
|
uploadimages:
|
|
|
|
scp -r images varia:public_html/volumetric-regimes/
|