make sonar wire colors red blue yellow black
[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
c1ed0e61 13astyle:
14 astyle --mode=c --style=lisp --indent=spaces=2 --recursive '*.ino'
15
b6541363 16initial-ubuntu-install:
17 sudo apt-get install -y qrencode fritzing openscad
18
b3053d46
WG
19index.html: README.html
20 cp $< $@
21
04a122b7 22qr-sticker-paper.pdf: qr qr-sticker-paper.tex
23 pdflatex qr-sticker-paper.tex
24
d4de6d4c 25qr.png: qr
26
27qr:
04a122b7 28 qrencode -s 6 -l L -v 1 -o qr.png "xib.me/rmmt"
29
d17307a8 30qrcode:
d4de6d4c 31 qrencode -l L -v 1 -o qr.png "xib.me/rmmt"
d17307a8 32
64c08187 33qrcode-large:
34 qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot"
d17307a8 35
b3053d46 36clean:
3f827760 37 rm -f ${HTMLS} ${PDFS} 3d-printables/*.gcode \
38 3d-printables/*.x3g 3d-printables/*.stl
b3053d46
WG
39
40%.html: %.md
41 markdown $< > $@
42
43%.pdf: %.html
a941f5d5 44 htmldoc --numbered --book --no-title --header /// -f $@ $<