remove conflicting wire color notes
[challenge-bot] / Makefile
CommitLineData
b3053d46
WG
1MARKDOWNS := \
2 README.md
3HTMLS := \
4 ${MARKDOWNS:%.md=%.html} \
5 index.html
6PDFS :=\
7 ${HTMLS:%.html=%.pdf}
8
9all: ${HTMLS} ${PDFS}
10 echo HTMLS=${HTMLS}
11 echo PDFS=${PDFS}
12
b6541363 13initial-ubuntu-install:
14 sudo apt-get install -y qrencode fritzing openscad
15
b3053d46
WG
16index.html: README.html
17 cp $< $@
18
04a122b7 19qr-sticker-paper.pdf: qr qr-sticker-paper.tex
20 pdflatex qr-sticker-paper.tex
21
22qr: qr.png
23 qrencode -s 6 -l L -v 1 -o qr.png "xib.me/rmmt"
24
d17307a8 25qrcode:
c1677e91 26 qrencode -l L -v 1 -o qr.png "goo.gl/JfVqUJ"
d17307a8 27
64c08187 28qrcode-large:
29 qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot"
d17307a8 30
b3053d46 31clean:
3f827760 32 rm -f ${HTMLS} ${PDFS} 3d-printables/*.gcode \
33 3d-printables/*.x3g 3d-printables/*.stl
b3053d46
WG
34
35%.html: %.md
36 markdown $< > $@
37
38%.pdf: %.html
a941f5d5 39 htmldoc --numbered --book --no-title --header /// -f $@ $<