Browse Source

adding make interior

master
mb 3 years ago
parent
commit
d87cb51a9e
  1. 17
      command-line/Makefile

17
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"

Loading…
Cancel
Save