From d87cb51a9ee1199c3024665cd7d0b806b44a20bb Mon Sep 17 00:00:00 2001 From: mb Date: Thu, 9 Jun 2022 10:06:28 +0200 Subject: [PATCH] adding make interior --- command-line/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/command-line/Makefile b/command-line/Makefile index 1de0350..317ff31 100644 --- a/command-line/Makefile +++ b/command-line/Makefile @@ -2,18 +2,20 @@ all: run install: python3 -m venv venv - ./venv/bin/pip3 install etherpump - ./venv/bin/etherpump init + # ./venv/bin/pip3 install etherpump + # ./venv/bin/etherpump init + ./venv/bin/pip3 install jinja2 + ./venv/bin/pip3 install markupsafe==2.0.1 run: - python3 -m http.server + ./venv/bin/python3 -m http.server update: wiki wiki: # --- # update the materials from the wiki, save it as Unfolded.html - python3 update.py + ./venv/bin/python3 update.py @echo "Pulling updates from the wiki: Unfolded (wiki) --> Unfolded.html (file)" multi: @@ -22,11 +24,16 @@ multi: @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 +interior: multi + # --- + # take cover out of the PDF (only select pages 3-344 + 2 extra white pages) + @pdftk Unfolded-with-Multi.pdf cat 3-346 output Unfolded-interior.pdf + upload: scp -r Unfolded.html css js fonts varia:public_html/volumetric-regimes/ uploadpdf: - resample Unfolded-with-Multi.pdf 150 + resample Unfolded-with-Multi.pdf 300 scp Unfolded-with-Multi-resampled.pdf varia:public_html/volumetric-regimes/Unfolded.pdf @echo "Uploaded to: https://vvvvvvaria.org/~mb/volumetric-regimes/Unfolded.pdf"